import { type ReactNode } from 'react';
type EachProps<T> = {
    of: T[];
    render: (item: T, index: number) => ReactNode;
};
/**
 * A utility component that iterates over an array and renders each item using the provided render function.
 *
 * @component
 * @example
 * // Example usage of Each component
 * <Each
 *   of={['apple', 'banana', 'orange']}
 *   render={(item, index) => (
 *     <div>{index}: {item}</div>
 *   )}
 * />
 *
 * @param {Object} props - The properties of the Each component.
 * @param {T[]} props.of - The array of items to iterate over and render.
 * @param {(item: T, index: number) => ReactNode} props.render - A function that renders each item in the array.
 *
 * @returns {ReactNode} The rendered Each component.
 */
export declare function Each<T>({ of, render }: EachProps<T>): ReactNode;
export {};
//# sourceMappingURL=Each.d.ts.map