import { SvelteComponentTyped } from "svelte"; interface PanelData { id: string; ref: Readable; } export declare type StateDefinition = { selectedIndex: number | null; orientation: "vertical" | "horizontal"; activation: "auto" | "manual"; tabs: HTMLElement[]; panels: PanelData[]; listRef: Writable; setSelectedIndex(index: number): void; registerTab(tab: HTMLElement | null): void; unregisterTab(tab: HTMLElement | null): void; registerPanel(panel: PanelData): void; unregisterPanel(panel: PanelData): void; }; export declare function useTabsContext(component: string): Readable; import type { Readable, Writable } from "svelte/store"; import type { SupportedAs } from "../../internal/elements"; declare class __sveltets_Render { props(): Omit, import("../../types").TInternalProps | "as" | "static" | "unmount"> & { as?: TAsProp | undefined; } & { /** The index of the default selected tab */ defaultIndex?: number | undefined; /** Whether the orientation of the `TabList` is vertical instead of horizontal */ vertical?: boolean | undefined; /** * Whether, in keyboard navigation, the Enter or Space key is necessary to change tabs. * By default, the arrow keys will change tabs automatically without hitting Enter/Space. * This has no impact on mouse behavior */ manual?: boolean | undefined; }; events(): { change: CustomEvent; } & { [evt: string]: CustomEvent; }; slots(): { default: { selectedIndex: number | null; }; }; } export declare type TabGroupProps = ReturnType<__sveltets_Render['props']>; export declare type TabGroupEvents = ReturnType<__sveltets_Render['events']>; export declare type TabGroupSlots = ReturnType<__sveltets_Render['slots']>; export default class TabGroup extends SvelteComponentTyped, TabGroupEvents, TabGroupSlots> { } export {};