import type { PropsWithChildren } from 'react';
import React from 'react';
export type ModalContextValue = {
    close: () => void;
    dialogId?: string;
};
export declare const ModalContext: React.Context<ModalContextValue | undefined>;
export declare const ModalContextProvider: ({ children, value, }: PropsWithChildren<{
    value: ModalContextValue;
}>) => import("react/jsx-runtime").JSX.Element;
export declare const useModalContext: () => ModalContextValue;
//# sourceMappingURL=ModalContext.d.ts.map