/** Internal context value shared between ModalWrapper and its sub-components */ export type ModalWrapperContextValue = { /** Closes the modal */ onClose: () => void; }; /** React context instance for ModalWrapper internal state */ export declare const ModalWrapperContext: import("react").Context; /** * Returns the nearest ModalWrapper context value. * Throws if called outside of a `` tree. */ export declare const useModalWrapperContext: () => ModalWrapperContextValue; //# sourceMappingURL=context.d.ts.map