import type { ComponentPublicInstance, CSSProperties, ExtractPropTypes, PropType, SlotsType, VNode } from 'vue'; import type { VXScrollInst } from 'vueuc'; import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils'; import type { Addable, OnBeforeLeave, OnClose, OnUpdateValue, TabsType } from './interface'; import type { TabsSize } from './public-types'; import { nextTick } from 'vue'; export declare const tabsProps: { readonly value: PropType; readonly defaultValue: PropType; readonly trigger: { readonly type: PropType<"click" | "hover">; readonly default: "click"; }; readonly type: { readonly type: PropType; readonly default: "bar"; }; readonly closable: BooleanConstructor; readonly justifyContent: PropType<"space-between" | "space-around" | "space-evenly" | "center" | "start" | "end">; readonly size: PropType; readonly placement: { readonly type: PropType<"top" | "left" | "right" | "bottom">; readonly default: "top"; }; readonly tabStyle: PropType; readonly tabClass: StringConstructor; readonly addTabStyle: PropType; readonly addTabClass: StringConstructor; readonly barWidth: NumberConstructor; readonly paneClass: StringConstructor; readonly paneStyle: PropType; readonly paneWrapperClass: StringConstructor; readonly paneWrapperStyle: PropType; readonly addable: PropType; readonly tabsPadding: { readonly type: NumberConstructor; readonly default: 0; }; readonly animated: BooleanConstructor; readonly onBeforeLeave: PropType; readonly onAdd: PropType<() => void>; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly onClose: PropType>; readonly labelSize: PropType; readonly activeName: PropType; readonly onActiveNameChange: PropType void>>; readonly theme: PropType>; readonly themeOverrides: PropType>>; readonly builtinThemeOverrides: PropType>>; }; export type TabsProps = ExtractPublicPropTypes; export interface TabsSlots { default?: () => VNode[]; prefix?: () => VNode[]; suffix?: () => VNode[]; } declare const _default: import("vue").DefineComponent; readonly defaultValue: PropType; readonly trigger: { readonly type: PropType<"click" | "hover">; readonly default: "click"; }; readonly type: { readonly type: PropType; readonly default: "bar"; }; readonly closable: BooleanConstructor; readonly justifyContent: PropType<"space-between" | "space-around" | "space-evenly" | "center" | "start" | "end">; readonly size: PropType; readonly placement: { readonly type: PropType<"top" | "left" | "right" | "bottom">; readonly default: "top"; }; readonly tabStyle: PropType; readonly tabClass: StringConstructor; readonly addTabStyle: PropType; readonly addTabClass: StringConstructor; readonly barWidth: NumberConstructor; readonly paneClass: StringConstructor; readonly paneStyle: PropType; readonly paneWrapperClass: StringConstructor; readonly paneWrapperStyle: PropType; readonly addable: PropType; readonly tabsPadding: { readonly type: NumberConstructor; readonly default: 0; }; readonly animated: BooleanConstructor; readonly onBeforeLeave: PropType; readonly onAdd: PropType<() => void>; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly onClose: PropType>; readonly labelSize: PropType; readonly activeName: PropType; readonly onActiveNameChange: PropType void>>; readonly theme: PropType>; readonly themeOverrides: PropType>>; readonly builtinThemeOverrides: PropType>>; }>, { syncBarPosition: () => void; updateScrollPosition: () => void; mergedClsPrefix: import("vue").Ref; mergedValue: import("vue").ComputedRef; renderedNames: Set>; segmentCapsuleElRef: import("vue").Ref; tabsPaneWrapperRef: import("vue").Ref; tabsElRef: import("vue").Ref; barElRef: import("vue").Ref; addTabInstRef: import("vue").Ref; xScrollInstRef: import("vue").Ref<(VXScrollInst & { $: import("vue").ComponentInternalInstance; $data: {}; $props: {}; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly<{}> & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {}) | null, (VXScrollInst & { $: import("vue").ComponentInternalInstance; $data: {}; $props: {}; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: import("vue").Slot | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: import("vue").ComponentOptionsBase & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle; } & Readonly<{}> & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {}) | null>; scrollWrapperElRef: import("vue").Ref; addTabFixed: import("vue").Ref; tabWrapperStyle: import("vue").ComputedRef<{ display: string; justifyContent: "center" | "start" | "end" | "space-around" | "space-between" | "space-evenly"; } | undefined>; handleNavResize: (entry: ResizeObserverEntry) => void; mergedSize: import("vue").ComputedRef; handleScroll: (e: Event) => void; handleTabsResize: (entry: ResizeObserverEntry) => void; cssVars: import("vue").ComputedRef<{ '--n-bezier': string; '--n-color-segment': string; '--n-bar-color': string; '--n-tab-font-size': string; '--n-tab-text-color': string; '--n-tab-text-color-active': string; '--n-tab-text-color-disabled': string; '--n-tab-text-color-hover': string; '--n-pane-text-color': string; '--n-tab-border-color': string; '--n-tab-border-radius': string; '--n-close-size': string; '--n-close-icon-size': string; '--n-close-color-hover': string; '--n-close-color-pressed': string; '--n-close-border-radius': string; '--n-close-icon-color': string; '--n-close-icon-color-hover': string; '--n-close-icon-color-pressed': string; '--n-tab-color': string; '--n-tab-font-weight': string; '--n-tab-font-weight-active': string; '--n-tab-padding': string; '--n-tab-padding-vertical': string; '--n-tab-gap': string; '--n-tab-gap-vertical': string; '--n-pane-padding-left': string; '--n-pane-padding-right': string; '--n-pane-padding-top': string; '--n-pane-padding-bottom': string; '--n-font-weight-strong': string; '--n-tab-color-segment': string; }> | undefined; themeClass: import("vue").Ref | undefined; animationDirection: import("vue").Ref<"prev" | "next", "prev" | "next">; renderNameListRef: { value: Array; }; yScrollElRef: import("vue").Ref; handleSegmentResize: () => void; onAnimationBeforeLeave: (el: HTMLElement) => void; onAnimationEnter: (el: HTMLElement) => void; onAnimationAfterEnter: () => void; onRender: (() => void) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; readonly defaultValue: PropType; readonly trigger: { readonly type: PropType<"click" | "hover">; readonly default: "click"; }; readonly type: { readonly type: PropType; readonly default: "bar"; }; readonly closable: BooleanConstructor; readonly justifyContent: PropType<"space-between" | "space-around" | "space-evenly" | "center" | "start" | "end">; readonly size: PropType; readonly placement: { readonly type: PropType<"top" | "left" | "right" | "bottom">; readonly default: "top"; }; readonly tabStyle: PropType; readonly tabClass: StringConstructor; readonly addTabStyle: PropType; readonly addTabClass: StringConstructor; readonly barWidth: NumberConstructor; readonly paneClass: StringConstructor; readonly paneStyle: PropType; readonly paneWrapperClass: StringConstructor; readonly paneWrapperStyle: PropType; readonly addable: PropType; readonly tabsPadding: { readonly type: NumberConstructor; readonly default: 0; }; readonly animated: BooleanConstructor; readonly onBeforeLeave: PropType; readonly onAdd: PropType<() => void>; readonly 'onUpdate:value': PropType>; readonly onUpdateValue: PropType>; readonly onClose: PropType>; readonly labelSize: PropType; readonly activeName: PropType; readonly onActiveNameChange: PropType void>>; readonly theme: PropType>; readonly themeOverrides: PropType>>; readonly builtinThemeOverrides: PropType>>; }>> & Readonly<{}>, { readonly type: TabsType; readonly closable: boolean; readonly trigger: "hover" | "click"; readonly placement: "top" | "bottom" | "left" | "right"; readonly animated: boolean; readonly tabsPadding: number; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;