
import { ReactElement } from "react";

//#region src/utils/react/RenderCache.d.ts
interface RenderCacheProps<T> {
  items: T[];
  renderKeys: (string | number)[];
  getKey: (item: T) => string | number;
  children: (item: T) => ReactElement;
}
/**
 * RenderCache optimizes rendering of item lists by reusing
 * previously rendered elements for unchanged items.
 */
declare function RenderCache<T>({
  items,
  renderKeys,
  getKey,
  children
}: RenderCacheProps<T>): ReactElement;
//#endregion
export { RenderCache, RenderCacheProps };
//# sourceMappingURL=RenderCache.d.ts.map