import type { ErrorReport, ErrorReportArray, ItemCallable, ItemId, NevoProps } from "../types";
/**
* Takes an array and returns a function that generates the required props for handling an array item value.
* That function also contains three callables: `loop`, `add`, and `remove`.
*
* @param props Properties according to the NEVO pattern, where the `value` holds an array.
* @param itemId An optional function that returns a unique identifier for a given array `item`.
* @returns The `item` function that returns the props for a specific item `index`.
*/
export declare function useArray>, T = NonNullable extends readonly (infer H)[] ? H : never, E extends ErrorReport = ErrorReport>(props: NevoProps, itemId?: ItemId): ItemCallable;