import type { RouterContext, RouteDecision } from './types.js'; export declare class AutoRouter { route(ctx: RouterContext): RouteDecision; /** * Drops providers whose circuit is open. * * If that would leave nothing to route to, the original list is kept instead. Every circuit being * open usually means a shared dependency is down rather than every provider individually, and * attempting one call is strictly better than failing the request without trying anything. */ private withoutOpenCircuits; private getCandidates; /** * Scores a model for a strategy. For privacy, a model counts as local when its name says so or when * its provider was configured with `isLocal`, which is how a self-hosted OpenAI-compatible server * is preferred without renaming its models. */ private score; private localFallbackCapabilities; private costScore; private speedScore; private qualityScore; private preferencesForProvider; private isAllowed; private matchesRequirements; private matchesModelPattern; private isProviderRunnable; private healthScore; } export declare function routeDirectModel(model: string, ctx: RouterContext): RouteDecision;