/** * Slash command intercept hook for cursor-agent * Intercepts slash commands via Cursor's beforeSubmitPrompt hook * and executes them directly without LLM inference overhead. */ import type { CursorHookInput, CursorHookOutput, HookInput, HookOutput } from "./intercepted-slashcommands/types.js"; /** * Process Cursor's hook input into our internal format * * @param args - The function arguments * @param args.input - The Cursor hook input * * @returns The normalized internal hook input */ export declare const processInput: (args: { input: CursorHookInput; }) => HookInput; /** * Translate internal hook output to Cursor's expected format * * @param args - The function arguments * @param args.output - The internal hook output (or null for pass-through) * * @returns The Cursor hook output */ export declare const translateOutput: (args: { output: HookOutput | null; }) => CursorHookOutput; //# sourceMappingURL=slash-command-intercept.d.ts.map