/**
 * 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): void;
    setValue(value: any): void;
    focus(): void;
    setFieldMessages(fieldMessages: UiFieldMessageConfig[]): void;
}
export interface UiFieldEventSource {
    onValueChanged: TeamAppsEvent<UiField_ValueChangedEvent>;
}
export interface UiField_ValueChangedEvent extends UiEvent {
    value: any;
}
