import * as React from "react";
import { IItem } from "./toolbar";
import { IDOMElementMetrics, FlyoutVisibilitySet } from "../api/common";
export declare const TASK_PANE_OVERLAY_BGCOLOR = "#dee8f9";
/**
 * TaskPane component props
 *
 * @export
 * @interface ITaskPaneProps
 */
export interface ITaskPaneProps {
    currentUrl?: string;
    mapName?: string;
    session?: string;
    locale: string;
    homeAction: IItem;
    backAction: IItem;
    forwardAction: IItem;
    onUrlLoaded: (url: string) => void;
    lastUrlPushed?: boolean;
    showTaskBar: boolean;
    maxHeight?: number;
    flyoutStates?: FlyoutVisibilitySet;
    onOpenFlyout: (id: string, metrics: IDOMElementMetrics) => void;
    onCloseFlyout: (id: string) => void;
}
/**
 * A component that serves as a generic container for content or User Interface for custom functionality
 *
 * @export
 * @class TaskPane
 * @extends {React.Component<ITaskPaneProps, any>}
 */
export declare class TaskPane extends React.Component<ITaskPaneProps, any> {
    private _iframe;
    private taskButtons;
    constructor(props: ITaskPaneProps);
    private onCloseFlyout;
    private onOpenFlyout;
    private onFrameMounted;
    private onFrameLoaded;
    componentDidUpdate(prevProps: ITaskPaneProps): void;
    componentDidMount(): void;
    loadUrl(url: string): void;
    render(): JSX.Element;
}
