/** * Walk an object's prototype chain looking for a property descriptor. * * @param target - Object to start the walk from. * @param key - Property key to look up. * @returns The closest descriptor found, or `undefined` when none of * the prototypes declare the key. * * @internal */ export declare function findDescriptor(target: object, key: PropertyKey): PropertyDescriptor | undefined;