<?php

return [
    'competitor_limit' => 10,
    'enabled' => (bool) env('SERP_CHECKS_ENABLED', false), 'operation_mode' => env('SERP_OPERATION_MODE', 'disabled'), 'provider' => env('SERP_PROVIDER', 'dataforseo'), 'allow_fake_local' => (bool) env('SERP_ALLOW_FAKE_LOCAL', false), 'queue' => env('SERP_QUEUE', 'serp'), 'result_limit' => 10,
    'daily_user_quota' => (int) env('SERP_DAILY_USER_QUOTA', 25), 'keyword_cooldown_minutes' => (int) env('SERP_KEYWORD_COOLDOWN_MINUTES', 15), 'manual_rate_limit' => (int) env('SERP_MANUAL_RATE_LIMIT', 5), 'manual_rate_decay_seconds' => (int) env('SERP_MANUAL_RATE_DECAY_SECONDS', 60),
    'daily_budget_usd' => env('SERP_DAILY_BUDGET_USD', '1.00'), 'monthly_budget_usd' => env('SERP_MONTHLY_BUDGET_USD', '20.00'), 'budget_warning_percent' => (int) env('SERP_BUDGET_WARNING_PERCENT', 80), 'estimated_costs' => ['live' => env('SERP_ESTIMATED_LIVE_COST_USD', '0.003'), 'standard' => env('SERP_ESTIMATED_STANDARD_COST_USD', '0.001')],
    'ramp' => ['first_hour_limit' => (int) env('SERP_RAMP_FIRST_HOUR_LIMIT', 5), 'six_hour_limit' => (int) env('SERP_RAMP_SIX_HOUR_LIMIT', 25), 'first_day_limit' => (int) env('SERP_RAMP_FIRST_DAY_LIMIT', 100)],
    'canary' => ['keyword' => env('SERP_CANARY_KEYWORD', 'trafficpumper canary'), 'country' => env('SERP_CANARY_COUNTRY', 'TR'), 'language' => env('SERP_CANARY_LANGUAGE', 'tr'), 'device' => env('SERP_CANARY_DEVICE', 'desktop'), 'daily_limit' => (int) env('SERP_CANARY_DAILY_LIMIT', 1)],
    'low_balance_usd' => env('DATAFORSEO_LOW_BALANCE_USD', '10.00'), 'critical_balance_usd' => env('DATAFORSEO_CRITICAL_BALANCE_USD', '2.00'), 'health_ttl_seconds' => (int) env('DATAFORSEO_HEALTH_TTL_SECONDS', 300),
    'circuit_failure_threshold' => (int) env('SERP_CIRCUIT_FAILURE_THRESHOLD', 5), 'circuit_window_minutes' => (int) env('SERP_CIRCUIT_WINDOW_MINUTES', 5), 'circuit_cooldown_minutes' => (int) env('SERP_CIRCUIT_COOLDOWN_MINUTES', 10), 'stuck_after_minutes' => (int) env('SERP_STUCK_AFTER_MINUTES', 10),
    'manual_mode' => env('DATAFORSEO_MANUAL_MODE', 'live'), 'automatic_mode' => env('DATAFORSEO_AUTOMATIC_MODE', 'standard'),
    'dataforseo' => ['login' => env('DATAFORSEO_LOGIN'), 'password' => env('DATAFORSEO_PASSWORD'), 'base_url' => env('DATAFORSEO_BASE_URL', 'https://api.dataforseo.com'), 'result_depth' => (int) env('DATAFORSEO_RESULT_DEPTH', 10), 'connect_timeout' => (int) env('DATAFORSEO_CONNECT_TIMEOUT', 10), 'timeout' => (int) env('DATAFORSEO_TIMEOUT', 45), 'poll_initial_delay' => (int) env('DATAFORSEO_POLL_INITIAL_DELAY', 30), 'poll_interval' => (int) env('DATAFORSEO_POLL_INTERVAL', 30), 'poll_max_attempts' => (int) env('SERP_MAX_POLL_ATTEMPTS', env('DATAFORSEO_POLL_MAX_ATTEMPTS', 20)), 'max_task_age_minutes' => (int) env('SERP_MAX_POLL_AGE_MINUTES', env('DATAFORSEO_MAX_TASK_AGE_MINUTES', 60))],
];
