/** Returns enabled, visible options in their current DOM order. */ export declare function getVisibleCollectionOptions(options: HTMLElement[]): HTMLElement[]; /** Wraps an active option index in the collection bounds. */ export declare function wrapCollectionIndex(index: number, direction: 1 | -1, length: number): number; /** Clears active styling and the active descendant relationship for a collection. */ export declare function clearCollectionActive(options: HTMLElement[], activeHost: HTMLElement | null): void; /** Applies active styling and the active descendant relationship to one option. */ export declare function setCollectionActive(options: HTMLElement[], visibleOptions: HTMLElement[], index: number, activeHost: HTMLElement | null, idPrefix: string): HTMLElement | null;