/**
 * 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 { UiTemplateConfig } from "./UiTemplateConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiButtonConfig extends UiComponentConfig {
    _type?: string;
    template: UiTemplateConfig;
    templateRecord: any;
    minDropDownWidth?: number;
    minDropDownHeight?: number;
    openDropDownIfNotSet?: boolean;
    dropDownComponent?: unknown;
}
export interface UiButtonCommandHandler extends UiComponentCommandHandler {
    setTemplate(template: UiTemplateConfig, templateRecord: any): void;
    setTemplateRecord(templateRecord: any): void;
    setDropDownSize(minDropDownWidth: number, minDropDownHeight: number): void;
    setOpenDropDownIfNotSet(openDropDownIfNotSet: boolean): void;
    setDropDownComponent(dropDownComponent: unknown): void;
}
export interface UiButtonEventSource {
    onClicked: TeamAppsEvent<UiButton_ClickedEvent>;
    onDropDownOpened: TeamAppsEvent<UiButton_DropDownOpenedEvent>;
}
export interface UiButton_ClickedEvent extends UiEvent {
}
export interface UiButton_DropDownOpenedEvent extends UiEvent {
}
