/**
 * 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;
    onClickJavaScript?: string;
}
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;
    setOnClickJavaScript(onClickJavaScript: string): void;
}
export interface UiButtonEventSource extends UiFieldEventSource {
    onClicked: TeamAppsEvent<UiButton_ClickedEvent>;
    onDropDownOpened: TeamAppsEvent<UiButton_DropDownOpenedEvent>;
}
export interface UiButton_ClickedEvent extends UiEvent {
}
export interface UiButton_DropDownOpenedEvent extends UiEvent {
}
