/** * Hook to access modal API. * * Throws an error if used outside the modal context. * * @internal */ export declare const useModal: () => { openModal: import("../components/modal/modal-context").OpenModalFn; closeModal: import("../components/modal/modal-context").CloseModalFn; closeAllModals: () => void; getModalStack: () => import('../../common/components/modal').ModalInstance[]; isModalOpen: (modalId: string) => boolean; }; //# sourceMappingURL=use-modal.d.ts.map