import { ModalService } from "./ModalService"; export declare function enableModalEscKey(enable: boolean): void; export declare function closeModalOnEsc(modalService: ModalService): () => Promise;