/**
 * Output processor that composes log format parsers and error detectors
 * Provides the main API for processing server log output
 */
import type { ErrorDetector } from "./error-detectors/index.js";
import type { LogFormatParser } from "./log-parsers/index.js";
/**
 * Log entry structure for processed output
 */
export interface LogEntry {
    formatted: string;
    isCritical?: boolean;
    rawMessage?: string;
}
/**
 * Output processor that combines log format parsing and error detection
 * This is the main class that should be used for processing server log output
 */
export declare class OutputProcessor {
    private logFormatParser;
    private errorDetector;
    constructor(logFormatParser: LogFormatParser, errorDetector: ErrorDetector);
    /**
     * Process log text output from the server
     * @param text Raw log text to process
     * @param isError Whether this is from stderr (error stream)
     * @returns Array of processed log entries
     */
    process(text: string, isError?: boolean): LogEntry[];
    /**
     * Get the current log format parser
     */
    getLogFormatParser(): LogFormatParser;
    /**
     * Get the current error detector
     */
    getErrorDetector(): ErrorDetector;
}
//# sourceMappingURL=output-processor.d.ts.map