/** * Deterministic flash-class capability floor for deep agentic main_loop turns. * * Shared with typed-judgment consumers (#188): judgment may raise capability * requirements, but must never lower them below this deterministic floor. */ import type { ModelProfile, RoutingRequest, TurnType } from '../types/index.js'; export declare const DEEP_SESSION_MESSAGE_COUNT_THRESHOLD = 1000; export declare const DEEP_SESSION_ESTIMATED_TOKEN_THRESHOLD = 100000; export declare const FLASH_CLASS_CAPABILITY_FLOOR = 0.7; export declare const SESSION_DEPTH_CAPABILITY_FLOOR = "session_depth_capability_floor"; export interface MainLoopCapabilityFloorResult { /** Filtered candidates, or the original array reference when no floor applies. */ readonly fleet: readonly ModelProfile[]; /** Healthy flash-class candidates excluded by the floor, in fleet order. */ readonly excludedModelIds: readonly string[]; } /** * Capability thresholds are primary; the id pattern conservatively catches * named flash variants whose catalog capabilities have not been calibrated. */ export declare function isFlashClassModel(model: Pick): boolean; /** Strict issue-#179 boundaries: more than 1,000 messages OR 100k tokens. */ export declare function isDeepAgenticSession(request: Pick): boolean; /** * Exclude flash-class candidates for deep main_loop turns when a healthy * higher-capability peer exists. With no such peer, retain the original fleet * rather than leaving the host without a usable route. Explicit model forces * and non-main_loop turns are unchanged. */ export declare function applyMainLoopCapabilityFloor(request: RoutingRequest, fleet: readonly ModelProfile[], turnType?: TurnType): MainLoopCapabilityFloorResult; //# sourceMappingURL=flash-class.d.ts.map