import { EventEmitter, HostElement } from "../../stencil-public-runtime";
export type ModalSizeType = 'small' | 'regular' | 'normal' | 'medium' | 'big' | 'large' | 'full';
export declare class XModal {
    /**
     * Timer instance
     */
    private timer;
    /**
     * Element show loading style
     */
    loading?: boolean;
    /**
     * Element interval time in seconds to auto-close
     */
    interval?: number;
    /**
     * Element size name
     */
    size?: ModalSizeType;
    /**
     * Element closable on click outside
     */
    closable?: boolean;
    /**
     * Element reference
     */
    el: HostElement;
    /**
     * Modal visible state
     */
    visible: boolean;
    /**
     * On open modal emitter event
     */
    onOpen: EventEmitter<HostElement>;
    /**
     * On close modal emitter event
     */
    onClose: EventEmitter<HostElement>;
    onVisisbleValueChange(newValue: boolean): void;
    /**
     * Open the modal window
     */
    open(): Promise<void>;
    /**
     * Close the modal window
     */
    close(): Promise<void>;
    /**
     * On component did loaded hook
     */
    componentDidLoad(): void;
    /**
     * On click modal container handler
     *
     * @param e
     * @returns
     */
    private onClickContainer;
    /**
     * Render element
     */
    render(): any;
}
