export type ResolutionType any> = T extends (...args: any) => Promise ? R : any; export type ValueOf = T[keyof T];