import type { AssetType, ModelInfo } from "./types.js"; export interface RouteDecision { rule_id: string; primary_model: string; primary_params: Record; primary_strategy?: string; fallback_models: string[]; never_models: string[]; postprocess: string[]; reason: string; /** Repo-relative pointers to the research files that back this rule. */ research_sources: string[]; } export interface RouteInput { asset_type: AssetType; text_length: number; vector_required: boolean; transparency_required: boolean; brand_bundle_present: boolean; style?: string; } /** * Pure function: route an intent to a (primary, fallback, postprocess) decision. * Data-driven — rules come from data/routing-table.json. */ export declare function route(input: RouteInput): RouteDecision; /** * Validate a candidate model against the "never" list and capability matrix. */ export declare function isForbiddenForAsset(modelId: string, input: RouteInput): { forbidden: boolean; reason?: string; }; export declare function getModelInfo(id: string): ModelInfo | undefined; //# sourceMappingURL=router.d.ts.map