import { FASTElement } from "@microsoft/fast-element"; import { Reference } from "../reference/index.js"; /** * # ReferenceList * * Composes a list of fluent references into a styled list with keyboard navigation. Meant to be composed inside of a ReferenceGroup component. * * ```html * * * * * * * ``` */ export declare class ReferenceList extends FASTElement { /** * ## references * Encapsulated list of references * @type Array */ references: Array; /** * ## _activeIndex * The index of the selected element in the list * @type number */ private _activeIndex?; /** * ## _activeIndexChanged * * Checks for an active index and focuses the reference at that index. */ _activeIndexChanged(): void; /** * ## activeIndex * * getter for the active index of the focused reference element in the list */ get activeIndex(): number | undefined; /** * ## activeIndex * * setter for the active index of the focused reference element in the list */ set activeIndex(newIndex: number | undefined); /** * ## handleIndexUp * * Indexes up and shifts focus to the next element. Called when the keyboard up arrows is presed. */ handleIndexUp(): void; /** * ## handleIndexDown * * Indexes down and shifts focus to the previous element. Called when the keyboard down arrow is presed. */ handleIndexDown(): void; /** * ## trapFocus * * A keyboard event handler that sets the focusable elements to the references array and routes keys to the corresponding action. * * @param event */ trapFocus(event: KeyboardEvent): void; connectedCallback(): void; disconnectedCallback(): void; } //# sourceMappingURL=reference-list.d.ts.map