import type { LocalRuntimeToolClient } from "./local-runtime-client.js"; import { type CodexMcpStatus } from "./codex-mcp.js"; export type CodexHookEventName = "UserPromptSubmit" | "PostToolUse" | "Stop"; type FeatureState = "missing" | "true" | "false"; type ManagedHookStatusState = "installed" | "missing" | "drifted"; interface CodexHooksManifest { version: 1; target: "codex-hooks"; installedAt: string; coppermindVersion: string; codexHome: string; configPath: string; hooksPath: string; manifestPath: string; previousFeatureState: FeatureState; featuresSectionCreated: boolean; } export interface CodexHooksStatus { state: ManagedHookStatusState; configPath: string; hooksPath: string; manifestPath: string; featureState: FeatureState; managedEvents: CodexHookEventName[]; mcp: CodexMcpStatus; nextStep: string; error: string | null; } export interface CodexHooksInstallResult { status: CodexHooksStatus; manifest: CodexHooksManifest; } export interface CodexHooksRemoveResult { removed: boolean; manifestRemoved: boolean; status: CodexHooksStatus; } export interface RunCodexHookEventOptions { client?: Pick; env?: Partial; stdinText?: string; } export declare function installCodexHooks(): CodexHooksInstallResult; export declare function removeCodexHooks(): CodexHooksRemoveResult; export declare function getCodexHooksStatus(): CodexHooksStatus; export declare function runCodexHookEvent(eventName: CodexHookEventName, options?: RunCodexHookEventOptions): Promise; export {}; //# sourceMappingURL=codex-hooks.d.ts.map