/**
 * 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 { UiFieldConfig } from "./UiFieldConfig";
import { UiTemplateConfig } from "./UiTemplateConfig";
import { UiFieldCommandHandler } from "./UiFieldConfig";
import { UiFieldEventSource } from "./UiFieldConfig";
export interface UiButtonConfig extends UiFieldConfig {
    _type?: string;
    template: UiTemplateConfig;
    templateRecord: any;
    minDropDownWidth?: number;
    minDropDownHeight?: number;
    openDropDownIfNotSet?: boolean;
    dropDownComponent?: unknown;
}
export interface UiButtonCommandHandler extends UiFieldCommandHandler {
    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 extends UiFieldEventSource {
    onDropDownOpened: TeamAppsEvent<UiButton_DropDownOpenedEvent>;
}
export interface UiButton_DropDownOpenedEvent extends UiEvent {
}
