import { ReactElement, ReactNode } from 'react';
import { Component } from '../component';
import { Flex } from '../flex';
import { Menu } from '../menu';
import { Spec } from './types';
export interface SelectorProps extends Omit<Flex.BoxProps, "children" | "contextMenu" | "onDrop"> {
    size?: Component.Size;
    altColor?: boolean;
    contextMenu?: Menu.ContextMenuProps["menu"];
    onDrop?: (e: React.DragEvent<HTMLElement>) => void;
    addTooltip?: string;
    actions?: ReactNode;
}
export declare const Selector: ({ className, altColor, size, direction, contextMenu, addTooltip, actions, ...rest }: SelectorProps) => ReactElement | null;
export interface SelectorButtonProps extends Spec {
    selected?: string;
    altColor?: boolean;
    onDragStart?: (e: React.DragEvent<HTMLElement>, tab: Spec) => void;
    onDragEnd?: (e: React.DragEvent<HTMLElement>, tab: Spec) => void;
    onDrop?: (e: React.DragEvent<HTMLElement>) => void;
    onSelect?: (key: string) => void;
    onClose?: (key: string) => void;
    onRename?: (key: string, name: string) => void;
    size: Component.Size;
}
//# sourceMappingURL=Selector.d.ts.map