///
import type { Client } from 'web3-mq';
import type { CommonUserInfoType, SearchDidType } from '../../Chat/hooks/useQueryUserInfo';
export declare const usePaginatedMessages: (props: {
client: Client;
loginUserInfo: CommonUserInfoType;
scrollBottom: () => void;
getUserInfo: (didValue: string, didType: SearchDidType) => Promise;
}) => {
msgListloading: boolean;
loadMoreLoading: boolean;
messageList: any[];
loadNextPage: () => Promise;
setMessages: import("react").Dispatch>;
};