import type { Outcome } from "../tools/result.js"; export type ClaudeIdentityInput = Readonly<{ home: string; sessionId: string; cwd: string; agent: string; model: string; }>; /** One tool call as the hook receives it: the shared text the model reads, and the shared outcome it came from. */ export type ClaudeToolResult = { text: string; outcome: Outcome; }; export declare function dispatch(request: unknown): Promise; export declare function handleLine(line: string): Promise;