export interface HookStatus { installed: boolean; version: string | null; path: string; settingsConfigured: boolean; needsUpdate: boolean; packagedVersion: string; } export interface InstallResult { success: boolean; error?: string; installedVersion?: string; } export interface UninstallResult { success: boolean; error?: string; } export interface CodexNotifyStatus { configPath: string; configExists: boolean; notifyConfigured: boolean; notifyLine?: string; } export interface CodexInstallResult { success: boolean; status: 'installed' | 'updated' | 'already-configured' | 'missing-config' | 'conflict'; error?: string; } export interface CodexUninstallResult { success: boolean; status: 'removed' | 'not-configured' | 'missing-config' | 'conflict'; error?: string; } /** * Get the version of the installed hook script. */ export declare function getHookVersion(): string | null; /** * Get the version of the packaged hook script. */ export declare function getPackagedHookVersion(): string; /** * Check if the hook script file exists. */ export declare function isHookInstalled(): boolean; /** * Check if the installed hook needs an update. */ export declare function needsUpdate(): boolean; /** * Get comprehensive hook status. */ export declare function getHooksStatus(): HookStatus; /** * Install the hook: copy script and update Claude Code settings. */ export declare function installHook(): InstallResult; /** * Uninstall the hook: remove from settings and optionally delete script. */ export declare function uninstallHook(removeScript?: boolean): UninstallResult; export declare function getCodexNotifyStatus(): CodexNotifyStatus; export declare function installCodexNotify(options?: { force?: boolean; }): CodexInstallResult; export declare function uninstallCodexNotify(): CodexUninstallResult; //# sourceMappingURL=hooks.d.ts.map