/**
 * 工具栏组件类型
 */
export declare enum ToolBarItemType {
    Text = "text",
    Button = "button",
    RadioGroup = "radio-group",
    Select = "select",
    Input = "input"
}
export interface ToolBarItem {
    type?: ToolBarItemType;
    name?: string;
    label?: string;
    position?: 'left' | 'right';
    hidden?: boolean;
    disabled?: boolean;
    slot?: string;
    props?: ToolBarItemProps;
    radios?: ToolBarItemRadio[];
    asyncOptions?: ToolBarItemOption[];
}
export interface ToolBarItemOption {
    label: string;
    value: any;
}
export interface ToolBarItemRadio {
    label: string;
    value: any;
}
export interface ToolBarItemProps {
    size?: string;
    loading?: boolean;
    options?: ToolBarItemOption[];
    loadOptions?: () => Promise<ToolBarItemOption[]>;
    icon?: string;
    fontSize?: string;
    color?: string;
    maxWidth?: string;
    width?: string;
    children?: string;
    innerHTML?: string;
    onlyShowPlaceholder?: boolean;
    [key: string]: any;
}
export interface LoadedOptions {
    [key: string]: {
        loading: boolean;
        options: ToolBarItemOption[];
        loaded?: boolean;
    };
}
export interface ToolBarActionEvent {
    type: string;
    item: ToolBarItem;
    payload: any;
}
