/**
 * 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 { UiColorConfig } from "./UiColorConfig";
import { UiFloatingComponentPosition } from "./UiFloatingComponentPosition";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiFloatingComponentConfig extends UiComponentConfig {
    _type?: string;
    containerComponent?: unknown;
    contentComponent?: unknown;
    width?: number;
    height?: number;
    marginX?: number;
    marginY?: number;
    position?: UiFloatingComponentPosition;
    backgroundColor?: UiColorConfig;
    expanderHandleColor?: UiColorConfig;
    collapsible?: boolean;
    expanded?: boolean;
}
export interface UiFloatingComponentCommandHandler extends UiComponentCommandHandler {
    setExpanded(expanded: boolean): void;
    setPosition(position: UiFloatingComponentPosition): void;
    setDimensions(width: number, height: number): void;
    setMargins(marginX: number, marginY: number): void;
    setBackgroundColor(backgroundColor: UiColorConfig): void;
    setExpanderHandleColor(expanderHandleColor: UiColorConfig): void;
}
export interface UiFloatingComponentEventSource {
    onExpandedOrCollapsed: TeamAppsEvent<UiFloatingComponent_ExpandedOrCollapsedEvent>;
}
export interface UiFloatingComponent_ExpandedOrCollapsedEvent extends UiEvent {
    expanded: boolean;
}
