export declare const CAPTURE_SETUP_TARGETS: readonly ["claude-code", "codex", "all"]; export type CaptureSetupTarget = typeof CAPTURE_SETUP_TARGETS[number]; export type CaptureSetupRuntime = Exclude; export type CaptureSetupStatus = 'would-install' | 'installed' | 'blocked'; export interface CaptureSetupOptions { cwd?: string; repoRoot?: string; env?: NodeJS.ProcessEnv; write?: boolean; claudeSettingsPath?: string; codexConfigPath?: string; nodePath?: string; platform?: NodeJS.Platform; claudeHookPath?: string; codexHookPath?: string; } export interface CaptureSetupResult { runtime: CaptureSetupRuntime; status: CaptureSetupStatus; configPath: string; hookPath: string; command?: string; stanza?: string; changed: boolean; message: string; } export declare function isCaptureSetupTarget(value: string): value is CaptureSetupTarget; export declare function runCaptureSetup(target: CaptureSetupTarget, options?: CaptureSetupOptions): CaptureSetupResult[]; export declare function renderCaptureSetupText(results: CaptureSetupResult[], mode: 'dry-run' | 'write'): string;