import { ReactElement } from 'react'; import { PopupBaseProps } from './popupBase'; export declare const enum PopupType { PICKER = "picker" } export interface IUsePopupOptions { modal?: React.ComponentType; type?: PopupType; } /** * 基于 Portal 封装的 Popup 弹窗组件管理 Hooks */ declare const createPopupManager: (options?: IUsePopupOptions) => { open: (childComponent: React.ReactNode, pageId: number | undefined, options?: { contentHeight?: number; }) => void; show: () => void; hide: () => void; update: (updatedChild: ReactElement | null) => void; remove: () => void; }; export { createPopupManager };