import type { FocusableElement } from "./tabbable.js"; interface Options { preventScroll?: boolean | undefined; cancelPrevious?: boolean | undefined; sync?: boolean | undefined; } /** * Focus `el` on the next animation frame (or synchronously when `sync` * is true). Returns a cancellation function that only cancels the frame * it scheduled, so "stale" cancellations from later calls are no-ops. * * `cancelPrevious` (default `true`) cancels any prior RAF scheduled by * this module, which is the standard "focus the latest element" pattern * when multiple focus requests queue up in the same tick. */ export declare function enqueueFocus(el: FocusableElement | null, options?: Options): () => void; export {}; //# sourceMappingURL=enqueue-focus.d.ts.map