import { default as React } from 'react';
import { IModal, IModalPortalProps, IRow, THidden, THiddenAll, TShow, TShowWithKey } from './types';
/**
 * Global var
 */
export declare let modal: IModal;
interface IState {
    rows: IRow[];
}
declare class Modal extends React.Component<IModalPortalProps, IState> {
    state: IState;
    static defaultProps: {
        id: string;
    };
    get typeProps(): IModalPortalProps & typeof Modal.defaultProps;
    constructor(props: any);
    /**
     * 顯示 Modal
     * (自動 QueueKey)
     * @param ModalComponent
     * @param args
     * @param onHide
     */
    show: TShow;
    /**
     * 顯示 Modal
     * (手動 QueueKey)
     * @param ModalComponent
     * @param queueKey
     * @param args
     * @param onHide
     */
    showWithKey: TShowWithKey;
    /**
     * 隱藏 Modal
     * @param queueKey
     */
    hide: THidden;
    /**
     * 隱藏所有 Modal
     */
    hideAll: THiddenAll;
    /**
     * 渲染項目
     */
    renderItems(): import("react/jsx-runtime").JSX.Element[];
    render(): import("react/jsx-runtime").JSX.Element;
}
export default Modal;
