import React from "react"; import type { TabsProps } from "antd/es/tabs"; export interface Props extends Omit { tabBarPrefix?: React.ReactNode; tabBarSuffix?: React.ReactNode; /** * Attention: * - Should be at least 1 * - No effect if tabs count < initialMaxVisibleTabCount * - Not work when used together with customized props.renderTabBar * - Will not recalculate tab width when resize after mount */ initialMaxVisibleTabCount?: number; } export interface TabItem { key: string; label: React.ReactNode; className?: string; style?: React.CSSProperties; disabled?: boolean; children?: React.ReactNode; forceRender?: boolean; closable?: boolean; closeIcon?: React.ReactNode; prefixCls?: string; tabKey?: string; id?: string; animated?: boolean; active?: boolean; destroyInactiveTabPane?: boolean; } export declare const Tabs: ((props: Props) => React.JSX.Element) & { Single: ({ children, title, ...rest }: import("./Single").Props) => React.JSX.Element; };