/**
 * 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 { UiImageCropperSelectionConfig } from "./UiImageCropperSelectionConfig";
import { UiImageCropperSelectionMode } from "./UiImageCropperSelectionMode";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiImageCropperConfig extends UiComponentConfig {
    _type?: string;
    imageUrl: string;
    selectionMode: UiImageCropperSelectionMode;
    aspectRatio: number;
    selection?: UiImageCropperSelectionConfig;
}
export interface UiImageCropperCommandHandler extends UiComponentCommandHandler {
    setImageUrl(imageUrl: string): void;
    setSelectionMode(selectionMode: UiImageCropperSelectionMode): void;
    setAspectRatio(aspectRatio: number): void;
    setSelection(selection: UiImageCropperSelectionConfig): void;
}
export interface UiImageCropperEventSource {
    onSelectionChanged: TeamAppsEvent<UiImageCropper_SelectionChangedEvent>;
}
export interface UiImageCropper_SelectionChangedEvent extends UiEvent {
    selection: UiImageCropperSelectionConfig;
}
