import type { RefObject } from 'react'; /** * Helper to set element in RefObject */ declare function arrayRefInternal | null>>(ref: T, index: number): (element: NonNullable[number]) => void; /** * Returns a callback ref that sets the element at `index` in the array of `ref`, the same function * for the same ref and index. */ export declare const arrayRef: typeof arrayRefInternal; export {};