import { type RoutePoolTier, type RoutingFeatures } from '../types.js';
import type { ProviderRegistry } from '../provider-registry.js';
export declare function sortByPriority(routeNames: string[]): string[];
export declare function initializeRouteQueue(candidates: string[]): string[];
export declare function normalizeRouteAlias(routeName: string | undefined): string;
export declare function routeHasForceFlag(routeName: string, routing: Record<string, RoutePoolTier[]>): boolean;
export declare function routeHasTargets(pools?: RoutePoolTier[]): boolean;
export declare function sortRoutePools(pools?: RoutePoolTier[]): RoutePoolTier[];
export declare function buildRouteCandidates(requestedRoute: string, classificationCandidates: string[] | undefined, features: RoutingFeatures, routing: Record<string, RoutePoolTier[]>, providerRegistry: ProviderRegistry): string[];
export declare function extendRouteCandidatesForState(candidates: string[], state: {
    allowedProviders?: Set<string>;
}, routing: Record<string, RoutePoolTier[]>): string[];
