/** * Runtime Fallback Hook - Constants * * Default values and configuration constants for the runtime fallback feature. */ import type { RuntimeFallbackConfig } from "../../config"; /** * Default configuration values for runtime fallback */ export declare const DEFAULT_CONFIG: Required; /** * Error patterns that indicate rate limiting or temporary failures * These are checked in addition to HTTP status codes */ export declare const RETRYABLE_ERROR_PATTERNS: RegExp[]; /** * Hook name for identification and logging */ export declare const HOOK_NAME = "runtime-fallback"; /** * First-prompt watchdog: how long to wait for the first sign of progress * (assistant text/reasoning/finish) from a subagent session before assuming * the provider is silently stuck and dispatching the configured fallback. * * Tuned to be longer than typical first-token latency (well under 30s in * practice) yet much shorter than the 30-minute outer poll timeout that * would otherwise be the only safety net. */ export declare const DEFAULT_FIRST_PROMPT_WATCHDOG_MS = 90000;