import 'tdesign-icons-web-components/esm/components/add'; import 'tdesign-icons-web-components/esm/components/chevron-left'; import 'tdesign-icons-web-components/esm/components/chevron-right'; import './TabNavItem'; import './TabBar'; import { Component, VNode } from 'omi'; import { DragSortInnerProps } from '../_util/useDragSorter'; import { TabValue, TdTabPanelProps, TdTabsProps } from './type'; interface TabNavProps extends TdTabsProps, DragSortInnerProps { itemList: TdTabPanelProps[]; tabClick: (s: TabValue) => void; activeValue: TabValue; size?: 'medium' | 'large'; children?: VNode; } export default class TabNav extends Component { static defaultProps: { placement: string; itemList: any[]; tabClick: () => void; scrollPosition: string; size: string; disabled: boolean; onRemove: () => void; onChange: () => void; }; static propsType: { placement: StringConstructor; itemList: ArrayConstructor; tabClick: FunctionConstructor; size: StringConstructor; disabled: BooleanConstructor; onChange: FunctionConstructor; value: (NumberConstructor | StringConstructor)[]; children: ArrayConstructor; }; navsContainerRef: Partial>; navsWrapRef: Partial>; getIndex: (value: TabValue) => number; canToLeft: import("omi").SignalValue; canToRight: import("omi").SignalValue; scrollBarRef: Partial>; leftOperationsRef: Partial>; rightOperationsRef: Partial>; toLeftBtnRef: Partial>; toRightBtnRef: Partial>; scrollLeftSignal: import("omi").SignalValue; maxScrollLeft: number; activeTab: HTMLElement | null; timeout: NodeJS.Timeout; setOffset: (offset: number) => void; getMaxScrollLeft: () => void; moveActiveTabIntoView: () => void; handleScroll: (action: "prev" | "next") => void; private handleWheel; private onResize; private onChangeActiveTab; effect: () => void; installed(): void; uninstall(): void; handleTabItemRemove: (removeItem: any) => void; handleTabItemClick(clickItem: any): void; handleTabAdd: (e: any) => void; render(props: TabNavProps): JSX.Element; } export {};