import type { RecordedShortcut } from "./types"; /** * Returns a promise that resolves with the next shortcut the user presses. * Useful for "press a key to rebind" UIs. * * @param target The element to listen on (default: `document`). * @param signal An AbortSignal to cancel recording. */ export declare function recordShortcut(target?: EventTarget, signal?: AbortSignal): Promise; //# sourceMappingURL=record.d.ts.map