type MaybePromise<T extends Promise<any> | any> = T extends Promise<any> ? T : Promise<T>;
export type { MaybePromise };
