import { type PathCtx } from '../config/paths.js'; export type Editor = 'cursor' | 'vscode'; /** Editors that appear to be installed (their per-user settings folder exists). */ export declare function detectEditors(c?: PathCtx): Editor[]; /** The extension setting that names the program used to launch Claude. */ export declare const WRAPPER_KEY = "claudeCode.claudeProcessWrapper"; /** The extension setting that injects environment variables into Claude. */ export declare const ENV_KEY = "claudeCode.environmentVariables"; /** * Set one environment variable in the editor's list, preserving every other * variable and setting. This is the Windows-safe way to switch accounts: point * CLAUDE_CONFIG_DIR at the active account without touching how Claude launches. */ export declare function setEnvVar(settings: Record, name: string, value: string): Record; /** Remove one environment variable, preserving the rest. */ export declare function clearEnvVar(settings: Record, name: string): Record; /** The user `settings.json` path for an editor, per OS. */ export declare function editorSettingsPath(editor: Editor, c?: PathCtx): string; /** Set the wrapper path, preserving every other setting. Pure. */ export declare function setWrapperSetting(settings: Record, wrapperPath: string): Record; /** Remove the wrapper setting, preserving every other setting. Pure. */ export declare function clearWrapperSetting(settings: Record): Record;