import { TabPaneProps } from "./tab-pane.js"; import { TabNavInstance } from "./tab-nav.js"; import { TabsProps } from "./tabs.js"; import { ComputedRef, InjectionKey, Ref, Slots, UnwrapRef, VNode } from "vue"; //#region ../../packages/components/tabs/src/constants.d.ts type TabPaneName = string | number; type TabsPaneContext = UnwrapRef<{ uid: number; getVnode: () => VNode; slots: Slots; props: TabPaneProps; paneName: ComputedRef; active: ComputedRef; index: Ref; isClosable: ComputedRef; isFocusInsidePane: () => boolean | undefined; }>; interface TabsRootContext { props: TabsProps; currentName: Ref; registerPane: (pane: TabsPaneContext) => void; unregisterPane: (pane: TabsPaneContext) => void; nav$: Ref; } declare const tabsRootContextKey: InjectionKey; //#endregion export { TabPaneName, TabsPaneContext, TabsRootContext, tabsRootContextKey };