/** * Multi-line editor component for extensions. * Supports Ctrl+G for external editor. */ /** * [WHO]: ExtensionEditorComponent * [FROM]: Depends on node:child_process, node:fs, node:os, node:path, ../theme/theme.js * [TO]: Consumed by modes/interactive/components/index.ts * [HERE]: modes/interactive/components/extension-editor.ts - */ import { Container, type EditorOptions, type Focusable, type TUI } from "@catui/tui"; import type { KeybindingsManager } from "../../../core/platform/keybindings.js"; export declare class ExtensionEditorComponent extends Container implements Focusable { private editor; private onSubmitCallback; private onCancelCallback; private tui; private keybindings; private _focused; get focused(): boolean; set focused(value: boolean); constructor(tui: TUI, keybindings: KeybindingsManager, title: string, prefill: string | undefined, onSubmit: (value: string) => void, onCancel: () => void, options?: EditorOptions); handleInput(keyData: string): void; private openExternalEditor; }