import { type Editor } from './settings.js'; import type { PathCtx } from '../config/paths.js'; export type InstallOutcome = { ok: true; path: string; action: 'installed' | 'removed' | 'noop'; } | { ok: false; path: string; reason: string; }; /** Inject an environment variable into the editor's Claude (the safe path). */ export declare function installEditorEnvVar(editor: Editor, name: string, value: string, c?: PathCtx): InstallOutcome; /** Remove an injected environment variable (dropping the key if it becomes empty). */ export declare function uninstallEditorEnvVar(editor: Editor, name: string, c?: PathCtx): InstallOutcome; /** Read the current value of an injected environment variable, or null. */ export declare function readEditorEnvVar(editor: Editor, name: string, c?: PathCtx): string | null; /** Point the editor's Claude launcher at ccx-claude (the wrapper path; macOS/Linux). */ export declare function installEditorWrapper(editor: Editor, wrapperPath: string, c?: PathCtx): InstallOutcome; /** Remove the editor's Claude launcher override. */ export declare function uninstallEditorWrapper(editor: Editor, c?: PathCtx): InstallOutcome;