/**
 * 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 { UiPanelHeaderFieldConfig } from "./UiPanelHeaderFieldConfig";
import { UiWindowButtonType } from "./UiWindowButtonType";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export declare enum UiPanel_HeaderComponentMinimizationPolicy {
    LEFT_COMPONENT_FIRST = 0,
    RIGHT_COMPONENT_FIRST = 1
}
export interface UiPanelConfig extends UiComponentConfig {
    _type?: string;
    icon?: string;
    title?: string;
    leftHeaderField?: UiPanelHeaderFieldConfig;
    rightHeaderField?: UiPanelHeaderFieldConfig;
    headerComponentMinimizationPolicy?: UiPanel_HeaderComponentMinimizationPolicy;
    alwaysShowHeaderFieldIcons?: boolean;
    hideTitleBar?: boolean;
    toolbar?: any;
    content?: any;
    stretchContent?: boolean;
    padding?: number;
    windowButtons?: UiWindowButtonType[];
    toolButtons?: any[];
}
export interface UiPanelCommandHandler extends UiComponentCommandHandler {
    setContent(content: any): void;
    setLeftHeaderField(field: UiPanelHeaderFieldConfig): void;
    setRightHeaderField(field: UiPanelHeaderFieldConfig): void;
    setTitle(title: string): void;
    setIcon(icon: string): void;
    setToolbar(toolbar: any): void;
    setMaximized(maximized: boolean): void;
    setWindowButtons(windowButtons: UiWindowButtonType[]): void;
    setToolButtons(toolButtons: any[]): void;
    setStretchContent(stretch: boolean): void;
}
export interface UiPanelEventSource {
    onWindowButtonClicked: TeamAppsEvent<UiPanel_WindowButtonClickedEvent>;
}
export interface UiPanel_WindowButtonClickedEvent extends UiEvent {
    _type: "UiPanel.windowButtonClicked";
    windowButton: UiWindowButtonType;
}
