/** * Main execution flow for the Router */ import type { HookInput, HookOutput, PreToolUseInput, PreToolUseOutput } from './types.js'; /** * Processes a prompt and returns hook output if skills match. * * @param input - Parsed hook input * @param projectDir - Project directory for manifest loading and SKILL.md content injection * @returns HookOutput if skills matched, null otherwise */ export declare function processPrompt(input: HookInput, projectDir: string): HookOutput | null; /** * Processes a PreToolUse hook event and returns output if skills match. * * @param input - Parsed PreToolUse input * @param projectDir - Project directory for manifest loading and path stripping * @returns PreToolUseOutput if skills matched, null otherwise */ export declare function processToolUse(input: PreToolUseInput, projectDir: string): PreToolUseOutput | null; /** * Main entry point - reads from stdin, processes, writes to stdout. */ export declare function main(): Promise; //# sourceMappingURL=main.d.ts.map