declare function setProto<O extends object, P extends object | null>( object: O, proto: P, ): O; declare const x: typeof setProto | null; export = x;