import type { BasicType } from '../../../_utils'; import type { PropType, ExtractPropTypes } from 'vue'; import type { TabsNavInstance, TabsModelValue, TabsPosition, TabsType, TabsJustifyContent, TabsTrigger, TabsEdit, TabsSwitch } from '../../index'; import type { SetActiveName } from '../../../_hooks'; export declare const Props: { /** 标题配置 */ navs: BasicType, TabsNavInstance[] | null>; /** * 样式风格 * * @values line card segment * @default line */ type: { type: PropType; default: () => TabsType; validator: (val: TabsType) => boolean; }; /** * 头部位置 * * @values left right top bottom * @default top */ position: { type: PropType; default: () => TabsPosition; validator: (val: TabsPosition) => boolean; }; /** 标签的 name */ activeName: { type: PropType; default: () => null; }; /** * 对齐方式 * * @values flex-start center flex-end space-between space-around space-evenly * @default flex-start * @see justify-content https://developer.mozilla.org/zh-CN/docs/Web/CSS/justify-content */ justifyContent: { type: PropType; default: () => TabsJustifyContent; validator: (val: TabsJustifyContent) => boolean; }; /** 编辑状态 */ editStatus: BasicType; /** * 触发方式 * * @values click hover * @default click */ trigger: { type: PropType; default: () => TabsTrigger; validator: (val: TabsTrigger) => boolean; }; /** 设置选中的 name */ setActiveName: BasicType, null>; /** 设置自定义操作 */ setEdit: BasicType, null>; /** 切换前的回调 */ onSwitch: BasicType, null>; }; /** tabs-nav 组件 props 类型 */ export type TabsNavProps = ExtractPropTypes;