import React from "react"; import { VirtualTableProps } from "./VirtualTableProps"; /** * `React.memo` is not generic-preserving: it takes the props type as its own * type argument, so annotating the call with * `VirtualTableProps>` pinned `T` at the boundary and * discarded the `` the inner function declares. The exported component was * therefore not generic at all — every consumer got `Record`, * `columns` and `cellRenderer` were unrelated to `data`, and a caller writing * ` …>` was told the component expects no type arguments. * * Re-asserting the call signature is the standard way to carry a type parameter * across `memo`; it is the only cast here, and it restores the generic the * implementation always had. Runtime behaviour is unchanged — this is the same * memoized component under a type that describes it. */ export declare const VirtualTable: >(props: VirtualTableProps) => React.ReactElement | null;