import type { WritableBox } from '../../utils/box.svelte'; import type { Unsubscriber } from 'svelte/store'; import type { IconComponent } from '../icon/Icon.svelte'; export interface Tab { id: string; title: string; icon?: IconComponent; } export interface TabsContext { id: string; tabs: WritableBox; getSelectedTabId: () => string | undefined; selectTab: (selectedTabId: string) => void; register(tab: Tab): Unsubscriber; } export declare function getTabsContext(): TabsContext; export declare function setTabsContext(context: TabsContext): void;