export type HookEvent = "post-edit" | "session-start"; /** * Handle the `post-edit` hook event (PostToolUse on Write|Edit|MultiEdit). * Returns context to inject when the edited file is model-anchored, empty * string otherwise. * * Fail-soft: callers catch errors and exit 0 with empty output. */ export declare function runHookPostEdit(targetDir: string, stdinPayload: string): Promise; /** * Handle the `session-start` hook event (SessionStart). Returns a compact * model overview + MCP tool catalogue for the agent's context window. * SessionStart output enters the cache and is paid once — can be detailed. */ export declare function runHookSessionStart(targetDir: string): Promise; //# sourceMappingURL=hook.d.ts.map