import type * as React from 'react'; export declare const fillRef: (ref: React.Ref, node: T) => void; /** * Merge refs into one ref function to support ref passing. */ export declare const composeRef: (...refs: React.Ref[]) => React.Ref; export declare const useComposeRef: (...refs: React.Ref[]) => React.Ref; export declare const supportRef: (nodeOrComponent: any) => boolean; interface RefAttributes extends React.Attributes { ref: React.Ref; } export declare const supportNodeRef: (node: React.ReactNode) => node is React.ReactElement> & RefAttributes; /** * In React 19. `ref` is not a property from node. * But a property from `props.ref`. * To check if `props.ref` exist or fallback to `ref`. */ export declare const getNodeRef: (node: React.ReactNode) => React.Ref | null; export {};