import { type HookHarness } from './types.mts'; export type HookArgs = { event: 'pre-tool-use' | 'post-tool-use'; harness: HookHarness; policy: string; root?: string; /** Environment variable names that mark an unattended run when set (see isAutomationContext). */ automationEnv: string[]; }; /** Parses `hook` arguments; throws a usage error naming the first problem. */ export declare function parseHookArgs(args: readonly string[]): HookArgs;