export declare function openModal(component: any, props: any): () => Promise;