export type CapabilityModelProviderCandidate = {
    id: string;
    aliases?: readonly string[];
    defaultModel?: string | null;
    models?: readonly string[];
};
export type CapabilityModelRef = {
    provider: string;
    model: string;
};
type ProviderIdNormalizer = (value: string) => string | undefined;
export declare function findCapabilityProviderById<T extends CapabilityModelProviderCandidate>(params: {
    providers: readonly T[];
    providerId?: string;
    normalizeProviderId?: ProviderIdNormalizer;
}): T | undefined;
export declare function resolveCapabilityProviderModelOnlyRef(params: {
    providers: readonly CapabilityModelProviderCandidate[];
    raw?: string;
}): CapabilityModelRef | null;
export declare function resolveCapabilityModelRefForProviders(params: {
    providers: readonly CapabilityModelProviderCandidate[];
    raw?: string;
    parseModelRef: (raw: string | undefined) => CapabilityModelRef | null;
    normalizeProviderId?: ProviderIdNormalizer;
}): CapabilityModelRef | null;
export {};
