import type { KeypressEvent } from "./terminal.js"; import type { Command } from "./types.js"; export declare function createKeymap(overrides?: Partial>): (event: KeypressEvent) => Command | undefined; export declare function createKeymap(overrides: Partial> | undefined, options: { commands: readonly TCommand[]; defaultBindings: Record; }): (event: KeypressEvent) => TCommand | undefined; export declare function canonicalizeBinding(binding: string): string | undefined;