import { Editor, type EditorOptions, type EditorTheme, type KeybindingsManager, type TUI } from '@earendil-works/pi-tui';
import type { XopcTuiAppKeybinding } from '../xopc-tui-keybindings.js';
/**
 * Editor with pi coding-agent–style app keybindings (KeybindingsManager + onAction).
 */
export declare class CustomEditor extends Editor {
    private readonly keybindings;
    readonly actionHandlers: Map<XopcTuiAppKeybinding, () => void>;
    onEscape?: () => void;
    onCtrlD?: () => void;
    onCtrlC?: () => void;
    onPasteImage?: () => void;
    constructor(tui: TUI, theme: EditorTheme, keybindings: KeybindingsManager, options?: EditorOptions);
    onAction(action: XopcTuiAppKeybinding, handler: () => void): void;
    handleInput(data: string): void;
}
