export declare function isDeprecatedTeammateModelId(modelId: string): boolean;
export type TeammateModelSource = "override" | "inherit_leader" | "default";
export interface ResolvedTeammateModel {
    source: TeammateModelSource;
    provider?: string;
    modelId?: string;
    warnings: string[];
}
export type ResolveTeammateModelResult = {
    ok: true;
    value: ResolvedTeammateModel;
} | {
    ok: false;
    error: string;
    reason: "invalid_override" | "deprecated_override";
};
export declare function formatProviderModel(provider: string | undefined, modelId: string | undefined): string | null;
export declare function resolveTeammateModelSelection(input: {
    modelOverride?: string;
    leaderProvider?: string;
    leaderModelId?: string;
}): ResolveTeammateModelResult;
