Type Alias Modal

Modal: {
    alert: ((props: AlertProps) => void);
    closeModal: ((modalKey: string, contextKey?: string) => void);
    confirm: ((props: AlertProps) => Promise<boolean | null>);
    openModal: ((render: ((props: ModalProps) => React.ReactNode), options?: ModalOptions, contextKey?: string) => string);
} & ModalClasses