import * as Stacks from "../../stacks"; export declare class TabListController extends Stacks.StacksController { private boundSelectTab; private boundHandleKeydown; connect(): void; disconnect(): void; /** * Gets all tabs within the controller. */ get tabTargets(): HTMLElement[]; /** * Handles click events on individual tabs, causing them to be selected. */ selectTab(event: MouseEvent): void; /** * Handles left and right arrow keydown events on individual tabs, * selecting the adjacent tab corresponding to the event. */ handleKeydown(event: KeyboardEvent): void; /** * Attempts to switch to a new tab, doing nothing if the tab is already selected or * the s-navigation-tablist:select event is prevented. */ private switchToTab; /** * Returns the currently selected tab or null if no tabs are selected. */ get selectedTab(): HTMLElement | null; /** * Switches the tablist to the provided tab, updating the tabs and panels * to reflect the change. * @param selectedTab The tab to select. If `null` is provided or the element * is not a valid tab, all tabs will be unselected. */ set selectedTab(selectedTab: HTMLElement | null); }