import { Progress } from "../../Progress"; import { FileInput } from "../../parse/File"; import { Parser } from "../../parse/Parser"; export declare class TelegramParser extends Parser { private lastChannelName?; private lastChannelType?; private lastChannelID?; private lastMessageTimestampInFile?; /** Used to detect DST */ private lastEmittedMessageTimestamp?; /** * Regex to find the timestamp of the last message in a Telegram export file. * We use the timestamp of the last message as the `at` value (see @Parser) */ static readonly TS_MSG_REGEX: RegExp; parse(file: FileInput, progress?: Progress): AsyncGenerator; private onChannelName; private onChannelType; private onChannelId; private parseMessage; private parseTextArray; }