import React from "react";
interface ModalContextProps {
    closeHandler?: React.MouseEventHandler<HTMLButtonElement>;
    modalRef: React.RefObject<HTMLDialogElement | null>;
}
export declare const ModalContextProvider: React.FC<ModalContextProps & {
    children: React.ReactNode;
    ref?: never;
}>, useModalContext: <S extends boolean = true>(strict?: S | undefined, errorMessageOverride?: string) => S extends true ? ModalContextProps : ModalContextProps | undefined;
export {};
