import type { LogStats } from '../types.js'; export declare function parseAndEnrich(line: string): Record | null; export declare class LogStreamService { private recentEntries; private static readonly MAX_RECENT_ENTRIES; private static readonly MAX_POLL_BYTES; private lastSize; private intervalId; private logPath; private onEntry?; private warnedPollFailure; constructor(logPath?: string, onEntry?: (entry: Record) => void); /** * Ingest a parsed log entry directly (no file needed). * * Used by the Pino stream interceptor to feed entries * in real-time without file polling. */ ingest(entry: Record): void; /** Record a timestamp, capping the array to prevent unbounded growth under high log volume. */ private pushRecent; getLogStats(): LogStats; start(): Promise; stop(): void; /** Reset the once-per-streak failure flag after a fully successful poll. */ private markPollHealthy; private pollNewEntries; }