import type { Editor } from '../editor/settings.js'; import type { CliContext } from '../context.js'; export interface EditorResult { ok: boolean; message: string; } /** Point one editor at the active ccx account (reused by `ccx on` and `ccx editor on`). */ export declare function enableEditor(context: CliContext, editor: Editor): EditorResult; /** Remove ccx from one editor. */ export declare function disableEditor(context: CliContext, editor: Editor): EditorResult; /** * `ccx editor on|off`: make Cursor / VS Code use your active ccx account. * * It points the editor's CLAUDE_CONFIG_DIR at a pointer ccx controls (the active * account). This is safe on every OS: it never changes how the editor launches * Claude, only which account it uses. When your active account changes, the * editor's next chat follows. */ export declare function editorCommand(context: CliContext, action: string | undefined, opts?: { editor?: string; }): number;