import type { DId, DSize } from '../../utils/types'; import React from 'react'; export interface DTabsRef { updateIndicator: () => void; } export interface DTabItem { id: ID; title: React.ReactNode; panel: React.ReactNode; dropdownItem?: React.ReactNode; disabled?: boolean; closable?: boolean; } export interface DTabsProps> extends Omit, 'children'> { dList: T[]; dActive?: ID; dPlacement?: 'top' | 'right' | 'bottom' | 'left'; dCenter?: boolean; dType?: 'wrap' | 'slider'; dSize?: DSize; onActiveChange?: (id: T['id'], item: T) => void; onAddClick?: () => void; onClose?: (id: T['id'], item: T) => void; } declare function Tabs>(props: DTabsProps, ref: React.ForwardedRef): JSX.Element | null; export declare const DTabs: >(props: DTabsProps & React.RefAttributes) => ReturnType; export {};