export type PromiseFn any> = ( ...args: Parameters ) => Promise>; export type PromisableFn any> = ( ...args: Parameters ) => Promise> | ReturnType;