import type { FallbackNoticeState } from "../status/fallback-notice-state.js"; import type { RuntimeFallbackAttempt } from "./reply/agent-runner-execution.js"; export { resolveActiveFallbackState, type FallbackNoticeState, } from "../status/fallback-notice-state.js"; export declare function buildFallbackNotice(params: { selectedProvider: string; selectedModel: string; activeProvider: string; activeModel: string; attempts: RuntimeFallbackAttempt[]; }): string | null; export declare function buildFallbackClearedNotice(params: { selectedProvider: string; selectedModel: string; previousActiveModel?: string; }): string; type ResolvedFallbackTransition = { selectedModelRef: string; activeModelRef: string; fallbackActive: boolean; fallbackTransitioned: boolean; fallbackCleared: boolean; reasonSummary: string; attemptSummaries: string[]; previousState: { selectedModel?: string; activeModel?: string; reason?: string; }; nextState: { selectedModel?: string; activeModel?: string; reason?: string; }; stateChanged: boolean; }; export declare function resolveFallbackTransition(params: { selectedProvider: string; selectedModel: string; activeProvider: string; activeModel: string; attempts: RuntimeFallbackAttempt[]; state?: FallbackNoticeState; }): ResolvedFallbackTransition;