/** * Renders a list of items with optional keys and separators. * * @template T - The type of items in the array * @template U - The JSX element type returned by the render function * @param props.each - Array of items to render * @param props.key - Optional key function for efficient updates (uses lit-html's repeat directive) * @param props.separator - Optional JSX element to insert between items * @param props.children - Render function that receives each item and its index * @returns An iterator from either the map or repeat directive, depending on whether a key function is provided. * * @example * ```tsx * user.id}> * {(user, index) =>
{user.name}
} *
* ``` */ export declare function For(props: { each: readonly T[]; key?: (item: T, index: number) => any; separator?: LitJSX.Child; children: (item: T, index: number) => U; }): LitJSX.Child; //# sourceMappingURL=for-component.d.ts.map