import type { HookPayload } from './types.mts'; export declare function isRecord(value: unknown): value is Record; export declare function hookToolInput(payload: HookPayload): Record | undefined; export declare function extractToolCommand(payload: HookPayload): string; export declare function hookToolName(payload: HookPayload): string; /** A numeric `exit_code` from the response shapes that carry one; undefined otherwise. */ export declare function hookToolExitCode(payload: HookPayload): number | undefined; export declare function hookSessionId(payload: HookPayload): string; export declare function hookFilePath(payload: HookPayload): string; export declare function hookCwd(payload: HookPayload, fallback?: string): string;