import type React from 'react';
export type ModalStackEntry = {
    _id: string;
    _scrollRef: React.RefObject<HTMLElement | null>;
    _contentRef: React.RefObject<HTMLElement | null>;
    _iiLocal?: {
        activate: (target?: HTMLElement | null) => void;
        revert: () => void;
    };
};
export declare function getListOfModalRoots(): ModalStackEntry[];
export declare function getModalRoot(index?: number): ModalStackEntry | null;
export declare function addToIndex(elem: ModalStackEntry): void;
export declare function removeFromIndex(elem: ModalStackEntry): void;
export declare function getContent(props: any): any;
