import React from "react"; import { ModalProps } from "../../components/modal"; export type ModalServiceContextType = { modalProps: ModalProps; setModalProps: (props: ModalProps) => void; }; /** * Can be set to allow access to and update `modalProps`, which is used by `ModalService`. */ export declare const ModalServiceContext: React.Context; /** * Service that implements `ModalServiceContext` and maps it to a `Modal`. This is required for e.g. `useDialog()` and * friends. * @param children * @constructor */ export declare const ModalService: React.FC;