/** * Safe cloud default — FR-022 fallback selector. * * Selects the first healthy economical-cloud model from the fleet, * falling back to frontier-cloud only when no economical model is available. * Never throws; returns undefined only when the fleet is completely empty or unhealthy. * * SP-095: when a request is provided, only models that fit context are eligible. */ import type { ModelProfile, RoutingRequest } from '../types/index.js'; import { type ContextFitConfig } from '../routing/context-fit.js'; export interface SafeCloudDefaultOptions { readonly request?: RoutingRequest; readonly contextFitConfig?: ContextFitConfig; } /** * Select a safe cloud default model from the fleet catalog. * * Priority order: * 1. First healthy economical-cloud model (context-fit aware when request provided) * 2. First healthy frontier-cloud model (fallback) * 3. undefined (no viable model) */ export declare function safeCloudDefault(models: readonly ModelProfile[], options?: SafeCloudDefaultOptions): ModelProfile | undefined; //# sourceMappingURL=safe-default.d.ts.map