import type { ResolvedSkill } from '../skills/types.js'; import type { UsageTurn } from '../../shared/types.js'; export type RoutingResult = { skills: string[]; tools: string[]; usage?: UsageTurn; }; /** * Pre-process the user's prompt to determine which skills and lazy tools * should be pre-loaded before the main agent loop. * * Uses a fast/cheap model to analyze the prompt and return structured output. * Returns null when routing is not configured, not applicable, or on error. */ export declare function preprocessPrompt(apiKey: string, prompt: string, resolvedSkills: ResolvedSkill[], lazyToolSummaries: { name: string; description: string; }[], signal?: AbortSignal): Promise;