import type { ComputedRef, InjectionKey } from 'vue'; import type { Numeric } from 'xzx-design/es/utils'; import type { TabsProps } from './tabs'; export declare const TABS_KEY: InjectionKey; export type TabsType = 'line' | 'card'; export type TabsClickTabEventParams = { name: Numeric; title: string; event: MouseEvent; disabled: boolean; }; export type TabsProvide = { id: string; props: TabsProps; setLine: () => void; scrollable: ComputedRef; onRendered: (name: Numeric, title?: string) => void; currentName: ComputedRef; setTitleRefs: (index: number) => (el: unknown) => void; scrollIntoView: (immediate?: boolean) => void; }; export type TabsExpose = { resize: () => void; scrollTo: (name: Numeric) => void; }; export type TabsThemeVars = { tabTextColor?: string; tabActiveTextColor?: string; tabDisabledTextColor?: string; tabFontSize?: string; tabLineHeight?: number | string; tabsDefaultColor?: string; tabsLineHeight?: number | string; tabsCardHeight?: string; tabsNavBackground?: string; tabsBottomBarWidth?: string; tabsBottomBarHeight?: string; tabsBottomBarColor?: string; }; export type TabsStickyScrollParams = { isFixed: boolean; scrollTop: number; };