import { stringifyRuntimeFallbackModel, stringifyRuntimeFallbackModelWithVariant } from "@oh-my-opencode/model-core"; import type { FallbackState, FallbackResult } from "./types"; import type { RuntimeFallbackConfig } from "../../config"; export declare const stringifyRuntimeModel: typeof stringifyRuntimeFallbackModel; export declare const stringifyRuntimeModelWithVariant: typeof stringifyRuntimeFallbackModelWithVariant; export declare function areRuntimeModelsEquivalent(candidate: string | undefined, current: string | undefined): boolean; export declare function createFallbackState(originalModel: unknown): FallbackState; export declare function isModelInCooldown(model: string, state: FallbackState, cooldownSeconds: number): boolean; export declare function findNextAvailableFallback(state: FallbackState, fallbackModels: string[], cooldownSeconds: number): string | undefined; export declare function prepareFallback(sessionID: string, state: FallbackState, fallbackModels: string[], config: Required): FallbackResult;