/**
 * 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 { UiFieldMessageConfig } from "./UiFieldMessageConfig";
import { UiFieldEditingMode } from "./UiFieldEditingMode";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiFieldConfig extends UiComponentConfig {
    _type?: string;
    editingMode?: UiFieldEditingMode;
    value?: any;
    fieldMessages?: UiFieldMessageConfig[];
}
export interface UiFieldCommandHandler extends UiComponentCommandHandler {
    setEditingMode(editingMode: UiFieldEditingMode): any;
    setValue(value: any): any;
    focus(): any;
    setFieldMessages(fieldMessages: UiFieldMessageConfig[]): any;
}
export interface UiFieldEventSource {
    onValueChanged: TeamAppsEvent<UiField_ValueChangedEvent>;
    onFocus: TeamAppsEvent<UiField_FocusEvent>;
    onBlur: TeamAppsEvent<UiField_BlurEvent>;
}
export interface UiField_ValueChangedEvent extends UiEvent {
    value: any;
}
export interface UiField_FocusEvent extends UiEvent {
}
export interface UiField_BlurEvent extends UiEvent {
}
