import type { AgentProvider, ModelPin } from "../schemas/agent.js"; import type { FleetCapacity, ModelRef } from "./plan-pools.js"; export interface ModelSource { readonly provider: AgentProvider; readonly ready: boolean; readonly models: readonly string[]; } export interface ModelChoice { readonly provider: AgentProvider; readonly model: string; } export declare const modelPinKey: (choice: ModelChoice) => string; export declare const parsePinned: (pinned: string) => ModelChoice | undefined; export declare const readyChain: (sources: readonly ModelSource[], pinned: readonly ModelPin[]) => readonly ModelPin[]; export declare const rungModel: (choice: ModelChoice) => ModelRef | undefined; export declare const openingRung: (chain: readonly T[], capacityOf: (rung: T) => FleetCapacity | undefined, steppedOver?: (rung: T) => boolean) => T | undefined; //# sourceMappingURL=model-pins.d.ts.map