import type { GrantManager } from '../grant-manager.js'; import type { HookHandler } from '../../hooks.js'; export type PathApprovalSurface = 'repl' | 'telegram' | 'web' | 'unknown'; export interface PathApprovalHookOptions { getCwd: () => string | undefined; surface: PathApprovalSurface; getGrantManager?: () => GrantManager | undefined; } export interface PathApprovalHookHandlers { preToolUse: HookHandler; postToolUse: HookHandler; sessionEnd: HookHandler; } export declare function createPathApprovalHook(opts: PathApprovalHookOptions): PathApprovalHookHandlers;