import type { HarnessAdapter, HarnessInstallOptions, ToolNameMap } from '../harness.js'; import type { GuardResult, AnyGuardDefinition, PreToolUseOutput, PostToolUseOutput, StopOutput, Suggestion } from '../guard.js'; type CodexHookHandler = { type: string; command: string; timeout?: number; statusMessage?: string; }; type CodexHookGroup = { matcher?: string; hooks: CodexHookHandler[]; }; type CodexHooksByEvent = Record; type CodexHooksFile = { hooks: CodexHooksByEvent; } & Record; export declare class CodexAdapter implements HarnessAdapter { readonly id: "codex"; readonly displayName = "Codex CLI"; readonly toolNames: ToolNameMap; readonly supportedEvents: Set; readonly supportsContextInjection = true; hooksConfigPath(cwd: string): string | null; detect(cwd: string): boolean; formatSuggestion(suggestion: Suggestion): string; formatPreToolOutput(result: GuardResult): PreToolUseOutput; formatPostToolOutput(result: GuardResult): PostToolUseOutput; formatStopOutput(result: GuardResult): StopOutput; generateHooksConfig(guards: AnyGuardDefinition[], guardScriptPath: string): CodexHooksFile; installGuards(cwd: string, guards: AnyGuardDefinition[], options?: HarnessInstallOptions): void; } export {}; //# sourceMappingURL=codex.d.ts.map