import { HTMLAttributes, ReactNode, Ref } from "react";
import type { MessageListLoadState } from "../../hooks/message/useMessageListScroll";
export interface MessageInfiniteScrollProps {
scrollRef: Ref;
scrollableTargetId: string;
loadState: MessageListLoadState;
moreOldLoading?: boolean;
onLoadMoreOld: () => void;
onScroll: (e: React.UIEvent) => void;
children: ReactNode;
empty?: ReactNode;
containerClassName?: string;
/** Extra attributes for the scroll container (CRM keyboard access). */
containerProps?: HTMLAttributes;
}
declare const MessageInfiniteScroll: ({ scrollRef, scrollableTargetId, loadState, moreOldLoading, onLoadMoreOld, onScroll, children, empty, containerClassName, containerProps, }: MessageInfiniteScrollProps) => import("react/jsx-runtime").JSX.Element;
export default MessageInfiniteScroll;
//# sourceMappingURL=MessageInfiniteScroll.d.ts.map