import { DOMWidgetModel, DOMWidgetView, JupyterPhosphorWidget } from './widget';
import { Message } from 'phosphor/lib/core/messaging';
import { Panel } from 'phosphor/lib/ui/panel';
export declare class JupyterPhosphorPanelWidget extends Panel {
    constructor(options: JupyterPhosphorWidget.IOptions & Panel.IOptions);
    /**
     * Process the phosphor message.
     *
     * Any custom phosphor widget used inside a Jupyter widget should override
     * the processMessage function like this.
     */
    processMessage(msg: Message): void;
    /**
     * Dispose the widget.
     *
     * This causes the view to be destroyed as well with 'remove'
     */
    dispose(): void;
    private _view;
}
export declare class BoxModel extends DOMWidgetModel {
    defaults(): any;
    static serializers: any;
}
export declare class HBoxModel extends BoxModel {
    defaults(): any;
}
export declare class VBoxModel extends BoxModel {
    defaults(): any;
}
export declare class ProxyModel extends DOMWidgetModel {
    defaults(): any;
    static serializers: any;
}
export declare class ProxyView extends DOMWidgetView {
    initialize(parameters: any): void;
    render(): Promise<any>;
    remove(): void;
    set_child(value: any): Promise<any>;
    box: any;
    /**
     * TODO: Should be Promise<DOMWidgetView>, but we set it to Promise<void> at the start. Why???
     */
    child_promise: Promise<any>;
    child: any;
}
export declare class PlaceProxyModel extends ProxyModel {
    defaults(): any;
}
export declare class PlaceProxyView extends ProxyView {
    initialize(parameters: any): void;
    update_selector(model: any, selector: any): void;
}
export declare class BoxView extends DOMWidgetView {
    _createElement(tagName: string): HTMLElement;
    _setElement(el: HTMLElement): void;
    /**
     * Public constructor
     */
    initialize(parameters: any): void;
    /**
     * Called when view is rendered.
     */
    render(): void;
    update_box_style(): void;
    set_box_style(): void;
    add_child_model(model: any): any;
    remove(): void;
    children_views: any;
    pWidget: JupyterPhosphorPanelWidget;
    static class_map: {
        success: string[];
        info: string[];
        warning: string[];
        danger: string[];
    };
}
export declare class HBoxView extends BoxView {
    /**
     * Public constructor
     */
    initialize(parameters: any): void;
}
export declare class VBoxView extends BoxView {
    /**
     * Public constructor
     */
    initialize(parameters: any): void;
}
