import React from 'react'; import { ItemProps, ListItem } from 'react-virtuoso'; import { StreamMessage } from '../../context'; import type { VirtuosoContext } from './VirtualizedMessageList'; import type { DefaultStreamChatGenerics, UnknownType } from '../../types/types'; export declare function calculateItemIndex(virtuosoIndex: number, numItemsPrepended: number): number; export declare function calculateFirstItemIndex(numItemsPrepended: number): number; export declare const makeItemsRenderedHandler: (renderedItemsActions: ((msg: StreamMessage[]) => void)[], processedMessages: StreamMessage[]) => import("lodash").DebouncedFunc<(items: ListItem[]) => void>; type CommonVirtuosoComponentProps = { context?: VirtuosoContext; }; export declare const Item: ({ context, ...props }: Pick, HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject | null | undefined; }, "style" | "children"> & { 'data-index': number; 'data-item-index': number; 'data-item-group-index'?: number | undefined; 'data-known-size': number; } & CommonVirtuosoComponentProps) => React.JSX.Element; export declare const Header: ({ context, }: CommonVirtuosoComponentProps) => React.JSX.Element | null; export declare const EmptyPlaceholder: ({ context, }: CommonVirtuosoComponentProps) => React.JSX.Element; export declare const Footer: () => React.JSX.Element | null; export declare const messageRenderer: (virtuosoIndex: number, _data: UnknownType, virtuosoContext: VirtuosoContext) => React.JSX.Element | null; export {}; //# sourceMappingURL=VirtualizedMessageListComponents.d.ts.map