import { default as React, ReactNode } from 'react';
import { ModalTransition } from './ModalRoot/ModalTransition/ModalTransition';
export type ModalState = Record<string, any>;
export type ModalRootState = {
    growModals: string[];
    slideModals: string[];
    popModals: string[];
};
interface ModalContextType {
    getModal: (modalId: string) => any;
    modalRootState: ModalRootState;
    addModal: (modalId: string, animation: ModalTransition, component: any) => void;
    removeModal: (modalId: string) => void;
    getModalOrder: (modalId: string) => number;
}
export declare const useModalContext: () => ModalContextType;
interface ModalProviderProps {
    children: ReactNode;
}
export declare const ModalProvider: React.FC<ModalProviderProps>;
export {};
