import React from 'react';
import { IModal, IModalPortalProps, IRow, THidden, 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 & {
        id: string;
    };
    constructor(props: any);
    /**
     * 顯示 Toaster
     * (自動 QueueKey)
     * @param ModalComponent
     * @param args
     */
    show: TShow;
    /**
     * 顯示 Toaster
     * (手動 QueueKey)
     * @param ModalComponent
     * @param queueKey
     * @param args
     */
    showWithKey: TShowWithKey;
    /**
     * 隱藏 Toaster
     * @param queueKey
     */
    hide: THidden;
    /**
     * 渲染項目
     */
    renderItems(): import("react/jsx-runtime").JSX.Element[];
    render(): import("react/jsx-runtime").JSX.Element;
}
export default Modal;
