import React, { ReactElement } from "react"; import { ControlStatusProps } from "../../common/controls.type"; import { PopupProps } from "."; interface PopupContextProps extends ControlStatusProps { show: (popup: PopupProps) => any; } export declare const usePopupContext: () => PopupContextProps; export declare const usePopup: () => (popup: PopupProps) => Promise; export declare const PopupProvider: ({ children }: { children: React.ReactNode | React.ReactElement | React.ReactElement[]; }) => React.JSX.Element; export {};