declare const _default: { /** * Return the modals array */ modals: () => { element: HTMLDivElement; blockScroll: boolean; }[]; /** * Register a new modal */ add: (newModal: HTMLDivElement, blockScroll: boolean) => void; /** * Remove a modal */ remove: (oldModal: HTMLDivElement) => void; /** * Check if the modal is the first one on the screen */ isTopModal: (modal: HTMLDivElement) => boolean; }; /** * Handle the order of the modals. * Inspired by the material-ui implementation. */ export default _default;