import type { Callable } from '../callable/index.js'; import type { AbstractNewable, Newable } from '../newable/index.js'; /** Similar to the standard `ReturnType` and `InstanceType` */ export type Return_ = [T] extends [(...args: any) => infer R] ? R : [T] extends [abstract new (...args: any) => infer R] ? R : never; /** Similar to the standard `ReturnType` and `InstanceType` */ export type Return = Return_; /** Similar to the standard `ReturnType` and `InstanceType` */ export type $Return_ = T extends any ? Return_ : never; /** Similar to the standard `ReturnType` and `InstanceType` */ export type $Return = $Return_; //# sourceMappingURL=Return.d.ts.map