import "../../CommonImports";
import "../../Core/core.css";
import "./Panel.css";
import * as React from "react";
import { ICustomPanelProps, IPanel } from '../../Components/Panel/Panel.Props';
interface ICustomPanelState {
    panelWidth?: number;
}
export declare class CustomPanel extends React.Component<ICustomPanelProps, ICustomPanelState> implements IPanel {
    static defaultProps: {
        escDismiss: boolean;
        lightDismiss: boolean;
        modal: boolean;
    };
    static contextType: React.Context<import("../../Core/Util/Screen").IScreenContext>;
    private calloutContentRef;
    private resizeStartX;
    private resizeStartWidth;
    constructor(props: ICustomPanelProps);
    render(): JSX.Element;
    componentDidMount(): void;
    componentDidUpdate(_prevProps: ICustomPanelProps, prevState: ICustomPanelState): void;
    componentWillUnmount(): void;
    animateOut(): Promise<void>;
    private getRenderedWidth;
    private applyCustomWidth;
    private onResizeMouseDown;
    private onResizeMouseCapture;
    private onResizeKeyDown;
    private defaultActiveElement;
}
export {};
