/** App-level bindings wired by xopc TUI (subset of pi coding-agent). */
export type XopcTuiAppKeybinding = 'app.interrupt' | 'app.clear' | 'app.exit' | 'app.suspend' | 'app.thinking.cycle' | 'app.model.cycleForward' | 'app.model.cycleBackward' | 'app.model.select' | 'app.tools.expand' | 'app.thinking.toggle' | 'app.session.resume' | 'app.editor.external' | 'app.clipboard.pasteImage' | 'app.message.followUp' | 'app.message.dequeue';
declare module '@earendil-works/pi-tui' {
    interface Keybindings {
        'app.interrupt': true;
        'app.clear': true;
        'app.exit': true;
        'app.suspend': true;
        'app.thinking.cycle': true;
        'app.model.cycleForward': true;
        'app.model.cycleBackward': true;
        'app.model.select': true;
        'app.tools.expand': true;
        'app.thinking.toggle': true;
        'app.session.resume': true;
        'app.editor.external': true;
        'app.clipboard.pasteImage': true;
        'app.message.followUp': true;
        'app.message.dequeue': true;
    }
}
export declare const XOPC_TUI_KEYBINDINGS: {
    readonly 'app.interrupt': {
        readonly defaultKeys: "escape";
        readonly description: "Abort run (or cancel overlay)";
    };
    readonly 'app.clear': {
        readonly defaultKeys: "ctrl+c";
        readonly description: "Clear input; repeat within 0.5s to exit";
    };
    readonly 'app.exit': {
        readonly defaultKeys: "ctrl+d";
        readonly description: "Exit when input empty";
    };
    readonly 'app.suspend': {
        readonly defaultKeys: any[] | "ctrl+z";
        readonly description: "Suspend to shell (SIGTSTP)";
    };
    readonly 'app.thinking.cycle': {
        readonly defaultKeys: "shift+tab";
        readonly description: "Cycle /think level";
    };
    readonly 'app.model.cycleForward': {
        readonly defaultKeys: "ctrl+p";
        readonly description: "Next model (/switch)";
    };
    readonly 'app.model.cycleBackward': {
        readonly defaultKeys: "shift+ctrl+p";
        readonly description: "Previous model (/switch)";
    };
    readonly 'app.model.select': {
        readonly defaultKeys: "ctrl+l";
        readonly description: "Model picker";
    };
    readonly 'app.tools.expand': {
        readonly defaultKeys: "ctrl+o";
        readonly description: "Toggle tool output";
    };
    readonly 'app.thinking.toggle': {
        readonly defaultKeys: "ctrl+t";
        readonly description: "Toggle thinking block display";
    };
    readonly 'app.session.resume': {
        readonly defaultKeys: "ctrl+shift+p";
        readonly description: "Session picker";
    };
    readonly 'app.editor.external': {
        readonly defaultKeys: "ctrl+g";
        readonly description: "Edit input in $EDITOR";
    };
    readonly 'app.clipboard.pasteImage': {
        readonly defaultKeys: "alt+v" | "ctrl+v";
        readonly description: "Paste image from clipboard (placeholder)";
    };
    readonly 'app.message.followUp': {
        readonly defaultKeys: "alt+enter";
        readonly description: "Queue message while busy (or submit when idle)";
    };
    readonly 'app.message.dequeue': {
        readonly defaultKeys: "alt+up";
        readonly description: "Restore queued messages to editor";
    };
    readonly "tui.editor.cursorUp": {
        readonly defaultKeys: "up";
        readonly description: "Move cursor up";
    };
    readonly "tui.editor.cursorDown": {
        readonly defaultKeys: "down";
        readonly description: "Move cursor down";
    };
    readonly "tui.editor.cursorLeft": {
        readonly defaultKeys: ["left", "ctrl+b"];
        readonly description: "Move cursor left";
    };
    readonly "tui.editor.cursorRight": {
        readonly defaultKeys: ["right", "ctrl+f"];
        readonly description: "Move cursor right";
    };
    readonly "tui.editor.cursorWordLeft": {
        readonly defaultKeys: ["alt+left", "ctrl+left", "alt+b"];
        readonly description: "Move cursor word left";
    };
    readonly "tui.editor.cursorWordRight": {
        readonly defaultKeys: ["alt+right", "ctrl+right", "alt+f"];
        readonly description: "Move cursor word right";
    };
    readonly "tui.editor.cursorLineStart": {
        readonly defaultKeys: ["home", "ctrl+a"];
        readonly description: "Move to line start";
    };
    readonly "tui.editor.cursorLineEnd": {
        readonly defaultKeys: ["end", "ctrl+e"];
        readonly description: "Move to line end";
    };
    readonly "tui.editor.jumpForward": {
        readonly defaultKeys: "ctrl+]";
        readonly description: "Jump forward to character";
    };
    readonly "tui.editor.jumpBackward": {
        readonly defaultKeys: "ctrl+alt+]";
        readonly description: "Jump backward to character";
    };
    readonly "tui.editor.pageUp": {
        readonly defaultKeys: "pageUp";
        readonly description: "Page up";
    };
    readonly "tui.editor.pageDown": {
        readonly defaultKeys: "pageDown";
        readonly description: "Page down";
    };
    readonly "tui.editor.deleteCharBackward": {
        readonly defaultKeys: "backspace";
        readonly description: "Delete character backward";
    };
    readonly "tui.editor.deleteCharForward": {
        readonly defaultKeys: ["delete", "ctrl+d"];
        readonly description: "Delete character forward";
    };
    readonly "tui.editor.deleteWordBackward": {
        readonly defaultKeys: ["ctrl+w", "alt+backspace"];
        readonly description: "Delete word backward";
    };
    readonly "tui.editor.deleteWordForward": {
        readonly defaultKeys: ["alt+d", "alt+delete"];
        readonly description: "Delete word forward";
    };
    readonly "tui.editor.deleteToLineStart": {
        readonly defaultKeys: "ctrl+u";
        readonly description: "Delete to line start";
    };
    readonly "tui.editor.deleteToLineEnd": {
        readonly defaultKeys: "ctrl+k";
        readonly description: "Delete to line end";
    };
    readonly "tui.editor.yank": {
        readonly defaultKeys: "ctrl+y";
        readonly description: "Yank";
    };
    readonly "tui.editor.yankPop": {
        readonly defaultKeys: "alt+y";
        readonly description: "Yank pop";
    };
    readonly "tui.editor.undo": {
        readonly defaultKeys: "ctrl+-";
        readonly description: "Undo";
    };
    readonly "tui.input.newLine": {
        readonly defaultKeys: "shift+enter";
        readonly description: "Insert newline";
    };
    readonly "tui.input.submit": {
        readonly defaultKeys: "enter";
        readonly description: "Submit input";
    };
    readonly "tui.input.tab": {
        readonly defaultKeys: "tab";
        readonly description: "Tab / autocomplete";
    };
    readonly "tui.input.copy": {
        readonly defaultKeys: "ctrl+c";
        readonly description: "Copy selection";
    };
    readonly "tui.select.up": {
        readonly defaultKeys: "up";
        readonly description: "Move selection up";
    };
    readonly "tui.select.down": {
        readonly defaultKeys: "down";
        readonly description: "Move selection down";
    };
    readonly "tui.select.pageUp": {
        readonly defaultKeys: "pageUp";
        readonly description: "Selection page up";
    };
    readonly "tui.select.pageDown": {
        readonly defaultKeys: "pageDown";
        readonly description: "Selection page down";
    };
    readonly "tui.select.confirm": {
        readonly defaultKeys: "enter";
        readonly description: "Confirm selection";
    };
    readonly "tui.select.cancel": {
        readonly defaultKeys: ["escape", "ctrl+c"];
        readonly description: "Cancel selection";
    };
};
/** Order for `/hotkeys` and docs (pi-style UX). */
export declare const XOPC_TUI_HOTKEY_ORDER: XopcTuiAppKeybinding[];
