import type { Attachment } from 'svelte/attachments'; export declare const focusableItems: (node: ParentNode, itemSelector: string) => HTMLElement[]; export declare const focusedItem: (node: HTMLElement, itemSelector: string, items: HTMLElement[]) => HTMLElement | null; export declare const rovingTabindex: (itemSelector: string, options?: { currentAttr?: string; currentValue?: string; /** Picks the current item by selector instead of `currentAttr` and `currentValue`. */ current?: string; }) => Attachment; export declare const arrowKeyNav: (itemSelector: string, orientation?: "vertical" | "horizontal" | "both", { wrap }?: { wrap?: boolean; }) => (event: KeyboardEvent & { currentTarget: EventTarget & HTMLElement; }) => void; export declare const typeaheadBuffer: (timeout?: number) => (event: KeyboardEvent) => string | undefined; export declare const typeaheadMatch: (labels: string[], current: number, query: string) => number; export declare const typeahead: (itemSelector: string, labelOf: (item: HTMLElement) => string, { timeout }?: { timeout?: number; }) => (event: KeyboardEvent & { currentTarget: EventTarget & HTMLElement; }) => void;