import * as React from 'react'; import { type SemanticClassName } from "../../_util/classNameUtils"; import type { GetIndicatorSize } from '../hooks/useIndicator'; import type { EditableConfig, Tab, TabOffset, TabPosition } from '../interface'; export interface TabNodeProps { id: string; prefixCls: string; tab: Tab; active: boolean; closable?: boolean; editConfig: EditableConfig; onClick?: (e: React.MouseEvent | React.KeyboardEvent) => void; onResize?: (width: number, height: number, left: number, top: number) => void; renderWrapper?: (node: React.ReactElement) => React.ReactElement; closeAriaLabel?: string; closeIcon?: React.ReactNode; onFocus: React.FocusEventHandler; style?: React.CSSProperties; className?: SemanticClassName<{ icon?: string; label?: string; close?: string; }, { active?: boolean; removable?: boolean; disabled?: boolean; renaming?: boolean; }>; position?: TabPosition; indicator?: { size?: GetIndicatorSize; align?: 'start' | 'center' | 'end'; }; offset?: TabOffset; } declare const TabNode: React.FC; export default TabNode;