/**
 * Keybindings Handler
 *
 * Manages custom keybindings for the terminal UI with
 * load/save persistence and sensible defaults.
 */
export interface KeyBinding {
    key: string;
    action: string;
    context?: string;
    chord?: string[];
}
export declare class KeybindingsManager {
    private bindings;
    private configPath;
    constructor(configDir?: string);
    static getInstance(configDir?: string): KeybindingsManager;
    static resetInstance(): void;
    loadKeybindings(): KeyBinding[];
    saveKeybindings(): void;
    setBinding(key: string, action: string, context?: string): void;
    removeBinding(key: string): boolean;
    getBinding(key: string): KeyBinding | undefined;
    listBindings(): KeyBinding[];
    getDefaults(): KeyBinding[];
    resetToDefaults(): void;
    formatBindingsTable(): string;
}
export declare function getKeybindingsManager(configDir?: string): KeybindingsManager;
export declare function resetKeybindingsManager(): void;
