import React, { PureComponent } from 'react'; import { PopViewComponentPropsType } from './interface'; import MHDatePicker from '../mhDatePicker/MHDatePicker'; import { InputDialog, LoadingDialog, MessageDialog, ChoiceDialog } from './index'; declare type PopViewComponentState = Omit; declare type componentRefsType = { [key: string]: { current: PopViewComponent; count: number; ids: Map; }; }; export declare const componentRefs: componentRefsType; export declare const DialogDict: { date: typeof MHDatePicker; input: typeof InputDialog; message: typeof MessageDialog; loading: typeof LoadingDialog; choice: typeof ChoiceDialog; modal: React.FC; }; export default class PopViewComponent extends PureComponent { static show: (name: string, config?: PopViewComponentState) => void; static hide: (name: string) => void; static update: (name: string, config: PopViewComponentState) => void; static has: (name: string) => boolean; static get: (name: string) => PopViewComponent | undefined; static getFirstId: (name: string) => number | undefined; id: number; constructor(props: PopViewComponentPropsType); componentDidMount(): void; componentDidUpdate(prevProps: PopViewComponentPropsType): void; componentWillUnmount(): void; show: () => void; hide: (callback?: ((...args: any[]) => void) | undefined) => void; update: (config: Pick) => void; handleOk: (...args: any[]) => void; handleCancel: (...args: any[]) => void; handleSelect: (...args: any[]) => void; handleRequestClose: () => void; render(): JSX.Element | null; } export {};