import { HookInput } from './types'; /** * UserPromptSubmit hook handler. * Intercepts the user's query, searches the index, and returns * additionalContext with precisely the right codebase context. */ export declare function handlePromptSubmit(input: HookInput, cwd: string): string; /** * PostToolUse hook handler (async). * Called after Write/Edit operations. Updates the index for the changed file. */ export declare function handlePostWrite(input: HookInput, cwd: string): string; /** * SessionStart hook handler. * Returns a compact project summary for context injection. */ export declare function handleSessionStart(cwd: string): string; /** * PreCompact hook handler. * Before context compaction, output the project summary so it survives. */ export declare function handlePreCompact(cwd: string): string; //# sourceMappingURL=hooks.d.ts.map