import React from 'react';
import type { ModalSettings } from '../ricos-types/ricos-types.js';
import type { SelectorContextValue } from '../_shared/use-context-selector.js';
import type { ModalState } from './modal-service.js';
import { ModalService } from './modal-service.js';
export declare const ModalProvider: React.FC<{
    modalSettings: ModalSettings | undefined;
    children: React.ReactNode;
}>;
export declare const useModalService: () => ModalService;
export declare const useModalStateContext: ({ onSelectorContextValue, }: {
    onSelectorContextValue: (selectorContextValue: SelectorContextValue<ModalState>) => void;
}) => SelectorContextValue<ModalState>;
export declare const useModalState: <T extends unknown>(selector: (s: ModalState) => T, trackingString?: string) => T;
export declare const getIsModalOpen: (id: string) => (state: ModalState) => boolean;
export declare const getIsExclusiveModalOpen: (state: ModalState) => boolean;
//# sourceMappingURL=modal-service-provider.d.ts.map