import { EventEmitter } from '../../stencil.core';
export declare class Modal {
    private static closeDelay;
    private static openDelay;
    private bodyEl;
    private bottomEl;
    private contentEl;
    private dialogEl;
    private overlayListener;
    private modalEl;
    private triggerEl;
    element: HTMLElement;
    active: boolean;
    showing: boolean;
    /**
     * If false, clicking the backdrop will not close the modal
     */
    overlayClose: boolean;
    /**
     * The modal size
     * Possible values are: `"small"`, `"medium"`, `"large"`, or `"xlarge"`.
     */
    size?: 'small' | 'medium' | 'large' | 'xlarge';
    /**
     * Emitted when the modal will open
     */
    anjModalWillOpen: EventEmitter<void>;
    /**
     * Emitted when the modal has opened
     */
    anjModalDidOpen: EventEmitter<void>;
    /**
     * Emitted when the modal will close
     */
    anjModalWillClose: EventEmitter<void>;
    /**
     * Emitted when the modal has closed
     */
    anjModalDidClose: EventEmitter<void>;
    componentWillLoad(): void;
    connectedCallback(): void;
    disconnectedCallback(): void;
    onBottomContentLoaded({ target }: CustomEvent): void;
    onResize(): void;
    /**
     * Show the modal
     */
    open(): Promise<void>;
    /**
     * Hide the modal
     */
    close(): Promise<void>;
    guardedClose(event?: MouseEvent | CustomEvent): Promise<void>;
    private onKeyDown;
    private setContentHeight;
    private appendModal;
    private onOverlayMouseDown;
    render(): any;
}
