import { type RoutingPools } from '../types.js';
export interface NormalizedRoutePoolConfig {
    id: string;
    priority: number;
    backup: boolean;
    targets: string[];
    mode?: 'round-robin' | 'priority';
    force?: boolean;
}
export declare function normalizeRouting(source: Record<string, unknown>): Record<string, NormalizedRoutePoolConfig[]>;
export declare function expandRoutingTable(routingSource: Record<string, NormalizedRoutePoolConfig[]>, aliasIndex: Map<string, string[]>, modelIndex: Map<string, {
    declared: boolean;
    models: string[];
}>): {
    routing: RoutingPools;
    targetKeys: Set<string>;
};
export declare function parseTargetKey(targetKey: string): {
    providerId: string;
    keyAlias: string;
    modelId: string;
} | null;
export declare function buildRuntimeKey(providerId: string, keyAlias: string): string;
