import type { RouteResult } from './types.js'; export interface KeywordRule { /** Regex pattern to match against task description */ pattern: RegExp; /** Agent slug to route to when matched */ agentSlug: string; /** Human-readable name for this route */ routeName: string; /** Description of what this rule matches */ description: string; } /** * Default keyword rules for fast, deterministic routing. Every agentSlug is a * spawnable agent name (a bundled agent's frontmatter `name`). * First-match wins — order matters. */ export declare const DEFAULT_KEYWORD_ROUTES: KeywordRule[]; /** * Fast keyword-based pre-filter for routing. * Runs regex matches against task descriptions before falling through * to semantic (embedding-based) routing. First match wins. */ export declare class KeywordPreFilter { private rules; constructor(customRules?: Array<{ pattern: RegExp; agentSlug: string; routeName: string; description: string; }>); /** * Match a task description against keyword rules. * Returns the first matching route or null if no keyword matches. */ match(taskDescription: string): RouteResult | null; /** * Prepend a custom rule (highest priority). */ addRule(rule: KeywordRule): void; /** * Return a copy of the current rules (immutable view). */ getRules(): ReadonlyArray; } //# sourceMappingURL=keyword-pre-filter.d.ts.map