export interface LogEntry {
    timestamp: string;
    level: string;
    label?: string;
    message: string;
}
type LogCallback = (log: LogEntry) => void;
declare class LogWatcher {
    private watchers;
    private subscribers;
    private lastPositions;
    private retryTimers;
    constructor();
    private startWatching;
    private watchLogFile;
    private initializePosition;
    private handleFileChange;
    private parseLogContent;
    private tryParseLogLine;
    private notifySubscribers;
    subscribe(callback: LogCallback): () => void;
    getRecentLogs(limit?: number): Promise<LogEntry[]>;
    private shouldIncludeLevel;
    destroy(): void;
}
export declare function getLogWatcher(): LogWatcher;
export declare function destroyLogWatcher(): void;
export {};
