import type { BackendType } from './model-runner.js'; export interface BackendModelChange { target: string; from: string | undefined; to: string; } export interface UnknownModelFamilyWarning { target: string; from: string; to: string; backend: BackendType; unknownFamily: true; } export type BackendModelPolicyEntry = BackendModelChange | UnknownModelFamilyWarning; export declare function defaultModelForBackend(backend: BackendType): string; export declare function backendForModel(model: string): BackendType | null; export declare function modelMatchesBackend(model: string, backend: BackendType): boolean; export declare function resolveBackendScopedModel(input: { backend: BackendType; model?: string; inheritedBackend?: BackendType; inheritedModel?: string; warningTarget?: string; onWarning?: (warning: UnknownModelFamilyWarning) => void; }): string; export declare function rescopeConfigModels(input: { backend: BackendType; agentModel?: string; roleModels: Record; }): { agentModel: string; roleModels: Record; changes: BackendModelChange[]; warnings?: UnknownModelFamilyWarning[]; }; export declare function emitBackendModelWarnings(entries: readonly BackendModelPolicyEntry[], emit?: (message: string) => void): void; //# sourceMappingURL=backend-model-policy.d.ts.map