import { proto } from '../../WAProto/index.js'; import type { Chat, Contact, LIDMapping, WAMessage } from '../Types/index.js'; import type { ILogger } from './logger.js'; export declare const downloadHistory: (msg: proto.Message.IHistorySyncNotification, options: RequestInit) => Promise; export declare const processHistoryMessage: (item: proto.IHistorySync, logger?: ILogger) => { chats: Chat[]; contacts: Contact[]; messages: WAMessage[]; lidPnMappings: LIDMapping[]; pastParticipants: proto.IPastParticipants[] | null | undefined; syncType: proto.HistorySync.HistorySyncType | null | undefined; progress: number | null | undefined; }; export declare const downloadAndProcessHistorySyncNotification: (msg: proto.Message.IHistorySyncNotification, options: RequestInit, logger?: ILogger) => Promise<{ chats: Chat[]; contacts: Contact[]; messages: WAMessage[]; lidPnMappings: LIDMapping[]; pastParticipants: proto.IPastParticipants[] | null | undefined; syncType: proto.HistorySync.HistorySyncType | null | undefined; progress: number | null | undefined; }>; export declare const getHistoryMsg: (message: proto.IMessage) => proto.Message.IHistorySyncNotification; //# sourceMappingURL=history.d.ts.map