export type HookInput = { ok: true; filePath: string; } | { ok: false; reason: string; }; /** * @param raw stdin の生テキスト * @param cwd 相対パスの基準(Claude Code は絶対パスを渡すが、手で叩いたときの保険) */ /** 配線ミスの通知は 1 つの句で始める(hook の E2E がこの句で「無言でない」ことを確かめる) */ export declare const NO_PATH_PHRASE = "hook \u306B\u691C\u4F53\u306E\u30D1\u30B9\u304C\u6E21\u3055\u308C\u3066\u3044\u307E\u305B\u3093"; export declare function parseHookInput(raw: string, cwd?: string): HookInput; export declare function isExcludedHookPath(filePath: string, cwd?: string): boolean;