/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiEvent } from "./UiEvent";
import { TeamAppsEvent } from "../modules/util/TeamAppsEvent";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiToolButtonConfig extends UiComponentConfig {
    _type?: string;
    icon: string;
    popoverText: string;
    grayOutIfNotHovered?: boolean;
    minDropDownWidth?: number;
    minDropDownHeight?: number;
    openDropDownIfNotSet?: boolean;
    dropDownComponent?: unknown;
}
export declare function createUiToolButtonConfig(icon: string, popoverText: string, nonRequiredProperties?: {
    id?: string;
    debuggingId?: string;
    visible?: boolean;
    stylesBySelector?: {
        [name: string]: {
            [name: string]: string;
        };
    };
    grayOutIfNotHovered?: boolean;
    minDropDownWidth?: number;
    minDropDownHeight?: number;
    openDropDownIfNotSet?: boolean;
    dropDownComponent?: unknown;
}): UiToolButtonConfig;
export interface UiToolButtonCommandHandler extends UiComponentCommandHandler {
    setIcon(icon: string): void;
    setPopoverText(popoverText: string): void;
    setGrayOutIfNotHovered(grayOutIfNotHovered: boolean): void;
    setDropDownSize(minDropDownWidth: number, minDropDownHeight: number): void;
    setOpenDropDownIfNotSet(openDropDownIfNotSet: boolean): void;
    setDropDownComponent(dropDownComponent: unknown): void;
}
export interface UiToolButtonEventSource {
    onClicked: TeamAppsEvent<UiToolButton_ClickedEvent>;
    onDropDownOpened: TeamAppsEvent<UiToolButton_DropDownOpenedEvent>;
}
export interface UiToolButton_ClickedEvent extends UiEvent {
}
export interface UiToolButton_DropDownOpenedEvent extends UiEvent {
}
