import { type ComponentType, type ForwardRefExoticComponent, type RefAttributes } from 'react'; import type React from 'react'; export type Props = Record | RefAttributes; /** * Type that represents a component that has been wrapped by redux. */ export type WrappedComponentType

> = ComponentType

& { WrappedComponent: C; }; /** * Checks if a component is a wrapped component. * @param Component The component to check * @returns Whether the component is a wrapped component or not */ export declare function isWrappedComponent

>(Component: React.ComponentType

): Component is WrappedComponentType; /** * Checks if a component is a class component. * @param Component The component to check * @returns Whether the component is a class component or not */ export declare function isClassComponent

(Component: React.ComponentType

): Component is React.ComponentClass

; /** * Checks if a component is a forward ref component. * @param Component The component to check * @returns Whether the component is a forward ref component or not */ export declare function isForwardRefComponentType

(Component: ComponentType

): Component is ForwardRefExoticComponent

; /** * Checks if a component can have a ref. Helps silence react dev errors * if a ref is passed to a functional component without forwardRef. * @param Component The component to check if it can take a ref * @returns Whether the component can have a ref or not */ export declare function canHaveRef

(Component: ComponentType

| WrappedComponentType>): boolean; //# sourceMappingURL=ComponentUtils.d.ts.map