type TabsValue = string | null; type TabsOrientation = "horizontal" | "vertical"; type TabsActivationDirection = "left" | "right" | "up" | "down" | "none"; type TabsValueChangeReason = "none" | "initial" | "disabled" | "missing" | "imperative-action"; type TabsValueChangeDetails = { readonly activationDirection: TabsActivationDirection; readonly event?: Event; readonly isCanceled: boolean; readonly isPropagationAllowed: boolean; readonly previousValue: TabsValue; readonly reason: TabsValueChangeReason; readonly trigger?: Element; readonly value: TabsValue; allowPropagation(): void; cancel(): void; }; type TabsOptions = { defaultValue?: TabsValue; onValueChange?: (value: TabsValue, details: TabsValueChangeDetails) => void; orientation?: TabsOrientation; syncKey?: string; value?: TabsValue; }; type TabsSetValueOptions = { emit?: boolean; sync?: boolean; }; type TabsInstance = { readonly root: HTMLElement; destroy(): void; getValue(): TabsValue; refresh(): void; setValue(value: TabsValue, options?: TabsSetValueOptions): void; subscribe(event: "valueChange", callback: (details: TabsValueChangeDetails) => void): () => void; }; declare function createTabs(root: HTMLElement, options?: TabsOptions): TabsInstance; export { type TabsActivationDirection, type TabsInstance, type TabsOptions, type TabsOrientation, type TabsSetValueOptions, type TabsValue, type TabsValueChangeDetails, type TabsValueChangeReason, createTabs };