import { Display } from './display'; export declare class Input { display: Display; handlers: { [mode in Input.Mode]: Input.Handler; }; mode: Input.Mode; constructor(display: Display, handlers: { [mode in Input.Mode]: Input.Handler; }); } export declare namespace Input { enum Mode { Query = 0, Command = 1, Filter = 2, Format = 3, Text = 4 } interface Action { description: string; fn: (key: any, matches: any, data: any) => void; } interface Handler { bindings: { [key: string]: Action; }; fallback?: (name: string, matches: string[], data: any) => void; } } //# sourceMappingURL=input.d.ts.map