export interface TabsSelection { /** Whether the tab with this `value` is the selected one. Reactive. */ isActive(value: string): boolean; /** Report a press on the tab with this `value` (drives `onChange`). */ select(value: string): void; } /** * Inject the nearest enclosing `Tabs` container's selection. Outside any * container this resolves to an inert selection (never active, presses * no-op), so a bare `Tab` driven purely by `active`/`onPress` still works. */ export declare const useTabsSelection: import("@sigx/runtime-core").InjectableFunction; /** * Provide a selection for the subtree. Call from the DS `Tabs` container's * setup with getters into its reactive props: * * ```ts * provideTabsSelection( * () => props.activeTab, * (v) => props.onChange?.(v), * ); * ``` */ export declare function provideTabsSelection(getActive: () => string | undefined, onSelect: (value: string) => void): void; //# sourceMappingURL=tabs-selection.d.ts.map