import { type Observable } from 'rxjs'; export type AsyncFunction = (...args: any[]) => Promise | Observable;