import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; interface Props { /** 当前激活的 tab */ modelValue: string; /** 是否显示筛选按钮 */ showFilter?: boolean; /** * 筛选按钮文字 * @description 如果不传,使用 YcConfigProvider 的 components.tabsWithFilter.filterText 或默认"筛选" */ filterText?: string; /** * 筛选面板可见状态 * @description * - 如果不传(undefined),使用 YcConfigProvider 的 showPageSearch 全局配置 * - 如果传入 true/false,使用传入的值作为初始值 */ filterVisible?: boolean; /** * 是否使用全局状态 * @description 设置为 true 时,筛选状态会同步到 YcConfigProvider 的 showPageSearch */ useGlobalState?: boolean; /** * 是否自动隐藏宿主应用默认的 lay-actions 操作条 * @description 为兼容旧版 ReTabsWithFilter 行为,默认开启;如需保留 lay-actions,可显式设置为 false */ autoHideLayActions?: boolean; } declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { showFilter: boolean; filterText: undefined; filterVisible: undefined; useGlobalState: boolean; autoHideLayActions: boolean; }>, { showPageSearch: Ref; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (value: string) => void; "filter-toggle": (visible: boolean) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { showFilter: boolean; filterText: undefined; filterVisible: undefined; useGlobalState: boolean; autoHideLayActions: boolean; }>>> & { "onUpdate:modelValue"?: ((value: string) => any) | undefined; "onFilter-toggle"?: ((visible: boolean) => any) | undefined; }, { filterText: string; showFilter: boolean; filterVisible: boolean; useGlobalState: boolean; autoHideLayActions: boolean; }, {}>, { default?(_: { filterVisible: boolean; }): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };