import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue'; declare const tabsProps: { /** * 绑定值,选中选项卡的 name/索引 ,默认值是第一个 tab 的 索引 */ readonly modelValue: { readonly type: PropType; readonly default: 0; }; /** * 风格类型 */ readonly type: { readonly type: PropType<"button" | "card" | "line">; readonly default: "card"; }; }; interface TabsContext { currentTabName: ComputedRef; onChange: (tabName: number | string) => void; type: 'button' | 'card' | 'line'; } declare const TabsKey: InjectionKey; export { TabsKey }; export type TabsProps = ExtractPropTypes; export { tabsProps };