/** * Inlined implementation of hoist-non-react-statics * Original library: https://github.com/mridgway/hoist-non-react-statics * License: BSD-3-Clause * Copyright 2015, Yahoo! Inc. * * This is an inlined version to avoid ESM compatibility issues with the original package. */ import * as React from 'react'; /** * Copies non-react specific statics from a child component to a parent component. * Similar to Object.assign, but copies all static properties from source to target, * excluding React-specific statics and known JavaScript statics. * * @param targetComponent - The component to copy statics to * @param sourceComponent - The component to copy statics from * @param excludelist - An optional object of keys to exclude from hoisting * @returns The target component with hoisted statics */ export declare function hoistNonReactStatics, S extends React.ComponentType, C extends Record = Record>(targetComponent: T, sourceComponent: S, excludelist?: C): T; //# sourceMappingURL=hoist-non-react-statics.d.ts.map