/**
 * 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?: unknown;
    content?: unknown;
    stretchContent?: boolean;
    padding?: number;
    windowButtons?: UiWindowButtonType[];
    toolButtons?: unknown[];
}
export interface UiPanelCommandHandler extends UiComponentCommandHandler {
    setContent(content: unknown): void;
    setLeftHeaderField(field: UiPanelHeaderFieldConfig): void;
    setRightHeaderField(field: UiPanelHeaderFieldConfig): void;
    setTitle(title: string): void;
    setIcon(icon: string): void;
    setToolbar(toolbar: unknown): void;
    setMaximized(maximized: boolean): void;
    setWindowButtons(windowButtons: UiWindowButtonType[]): void;
    setToolButtons(toolButtons: unknown[]): void;
    setStretchContent(stretch: boolean): void;
}
export interface UiPanelEventSource {
    onWindowButtonClicked: TeamAppsEvent<UiPanel_WindowButtonClickedEvent>;
}
export interface UiPanel_WindowButtonClickedEvent extends UiEvent {
    windowButton: UiWindowButtonType;
}
