import { proto } from '../../WAProto'; import { Chat, Contact } from '../Types'; export declare const downloadHistory: (msg: proto.IHistorySyncNotification) => Promise; export declare const processHistoryMessage: (item: proto.IHistorySync, historyCache: Set) => { chats: Chat[]; contacts: Contact[]; messages: proto.IWebMessageInfo[]; isLatest: boolean; }; export declare const downloadAndProcessHistorySyncNotification: (msg: proto.IHistorySyncNotification, historyCache: Set) => Promise<{ chats: Chat[]; contacts: Contact[]; messages: proto.IWebMessageInfo[]; isLatest: boolean; }>;