import type { TNode } from '../common';
export interface TdTabsProps {
    addable?: boolean;
    disabled?: boolean;
    dragSort?: boolean;
    list?: Array<TdTabPanelProps>;
    placement?: 'left' | 'top' | 'bottom' | 'right';
    size?: 'medium' | 'large';
    theme?: 'normal' | 'card';
    value?: TabValue;
    defaultValue?: TabValue;
    modelValue?: TabValue;
    onAdd?: (context: {
        e: MouseEvent;
    }) => void;
    onChange?: (value: TabValue) => void;
    onDragSort?: (context: TabsDragSortContext) => void;
    onRemove?: (options: {
        value: TabValue;
        index: number;
        e: MouseEvent;
    }) => void;
}
export interface TdTabPanelProps {
    default?: TNode;
    destroyOnHide?: boolean;
    disabled?: boolean;
    label?: string | TNode;
    panel?: string | TNode;
    removable?: boolean;
    value?: TabValue;
    onRemove?: (options: {
        value: TabValue;
        e: MouseEvent;
    }) => void;
}
export declare type TabValue = string | number;
export interface TabsDragSortContext {
    currentIndex: number;
    current: TabValue;
    targetIndex: number;
    target: TabValue;
}
