import type { HTMLAttributes } from 'svelte/elements';
import type { Snippet } from 'svelte';
type TabsVariant = 'underline' | 'pill';
interface TabItem {
id: string;
label: string;
panel: Snippet;
}
interface TabsProps extends HTMLAttributes {
/** Array of `{ id, label, panel }` tab descriptors. */
tabs: TabItem[];
/** `id` of the initially active tab — defaults to the first tab. */
active?: string;
/** Tab indicator style. @default 'underline' */
variant?: TabsVariant;
}
declare const Tabs: import("svelte").Component;
type Tabs = ReturnType;
export default Tabs;