import type { HTMLAttributes, MutableRefObject, ReactElement, Ref, RefCallback } from "react"; /** * Sets both a function and object React ref. */ export declare function setRef(ref: RefCallback | MutableRefObject | null | undefined, value: T): void; /** * Checks if an element is a valid React element with a ref. */ export declare function isValidElementWithRef

; }>(element: unknown): element is ReactElement

& { ref?: Ref; }; /** * Gets the ref property from a React element. */ export declare function getRefProperty(element: unknown): Ref | undefined; /** * Merges two sets of props. */ export declare function mergeProps>(base: T, overrides: T): T;