import * as PushAPI from '@pushprotocol/restapi'; interface HistoryMessagesParams { chatId: string; limit?: number; reference?: string | null; } interface FetchLatestMessageParams { chatId: string; } interface FetchChatListParams { type: keyof typeof PushAPI.ChatListType; overrideAccount?: string; page: number; limit: number; } declare const useFetchMessageUtilities: () => { historyMessages: ({ chatId, reference, limit }: HistoryMessagesParams) => Promise; error: string | undefined; historyLoading: boolean; latestLoading: boolean; fetchLatestMessage: ({ chatId }: FetchLatestMessageParams) => Promise; fetchChatList: ({ type, page, limit, overrideAccount }: FetchChatListParams) => Promise; chatListLoading: boolean; }; export default useFetchMessageUtilities;