export type Await = T extends Promise ? U : T; export type AwaitProps = { [P in keyof T]: Await; }; export type PromisedProps = { [P in keyof T]: T[P] | Promise; }; export declare function concurrent(obj: T): Promise>;