import { TypedEmitter } from "tiny-typed-emitter"; import { PathOfExileLogEvents } from "./events/PathOfExileLogEvents"; import { LogEvent } from "./events"; import { Language } from "./models/Language"; export interface LogOptions { /** * The path to the Client.txt * * @example 'C:/Program Files (x86)/Grinding Gear Games/Path of Exile/logs/Client.txt' */ logFilePath: string; /** * The client language. Default : English (en) */ language?: Language; /** * The number of events that will be cached. Default : 1000 */ maxCachedEvents?: number; /** * Whether to ignore debug events. Default: false * * @remarks If false, Debug events are now longer parsed and emitted. */ ignoreDebug?: boolean; } export declare class PathOfExileLog extends TypedEmitter { private readonly _tail; private readonly _options; private _eventHistory; constructor(options: LogOptions); get Options(): Readonly>; /** * The history of fired events. * * @remarks Before an event is fired, it is first put into the event history. * Therefore, when an event is fired it is already at the end of this list. */ get EventHistory(): Array>; changeLanguage(lan: Language): void; private _onNewLine; private _optionsWithDefaults; private _cacheEvent; private _visitMatcher; }