import type { Intrinsics } from "../GetIntrinsic"; // eslint-disable-next-line @typescript-eslint/ban-types type TypedProto

= { readonly prototype?: P | undefined } & Omit; declare function GetPrototypeFromConstructor( constructor: TypedProto

, intrinsicDefaultProto: K, ): P extends object ? P : Intrinsics[K]; declare function GetPrototypeFromConstructor

( constructor: TypedProto

, intrinsicDefaultProto: string, ): P extends object ? P : object; export = GetPrototypeFromConstructor;