import type { KeyEvent } from "../types.js"; export declare function parseKeyEvents(raw: Buffer | string): KeyEvent[]; export declare class KeyParser { private pending; parse(raw: Buffer | string): KeyEvent[]; flush(): KeyEvent[]; hasPending(): boolean; pendingKind(): "none" | "escape" | "paste" | "sequence"; } //# sourceMappingURL=parser.d.ts.map