import * as React from 'react'; export type Ref = ((instance: T) => void) | React.MutableRefObject | null | undefined; /** * * Integrate multiple refs into one. * * @remarks This hook takes refs and returns a function that would receive an instance and then call the refs * if they are functions, or assign the instance to them otherwise. * * Note that the intention is to provide refs statically and not dynamically, * so try not to spread refs array into its argument. * * @param refs - functions or mutable refs */ export declare function useMergeRefs(...refs: Ref[]): (instance: T) => void;