import { proto } from "../Proto"; import { Chat, Contact } from "../Models"; export declare const downloadHistory: (msg: proto.Message.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.Message.IHistorySyncNotification, historyCache: Set) => Promise<{ chats: Chat[]; contacts: Contact[]; messages: proto.IWebMessageInfo[]; isLatest: boolean; }>;