/**
 * Parses structured log lines from the feature agent worker process.
 *
 * Log format: [timestamp] [phase] [agent|model] [tag] message
 * Worker format: [timestamp] [agent|model] [WORKER] message
 * Fallback: raw string lines
 */
export type LogEventTag = 'tool' | 'tool-result' | 'text' | 'delta' | 'result' | 'tokens' | 'cmd' | 'file' | 'turn' | 'thread' | 'error' | 'event' | 'raw' | 'worker' | 'info';
export interface ParsedLogLine {
    /** ISO timestamp */
    timestamp: string | null;
    /** Phase name (e.g. "requirements", "implement") */
    phase: string | null;
    /** Agent type (e.g. "claude-code") */
    agent: string | null;
    /** Model name (e.g. "claude-haiku-4-5") */
    model: string | null;
    /** Event tag */
    tag: LogEventTag;
    /** The message content after tags */
    message: string;
    /** Original raw line */
    raw: string;
}
export declare function parseLogLine(raw: string): ParsedLogLine;
/** Tool call info extracted from [tool] messages */
export interface ToolCallInfo {
    toolName: string;
    args: string;
}
/** Parse a [tool] message into tool name and args */
export declare function parseToolCall(message: string): ToolCallInfo;
/** Result info extracted from [result] messages */
export interface ResultInfo {
    chars: number;
    sessionId: string | null;
}
/** Parse a [result] message */
export declare function parseResultMessage(message: string): ResultInfo;
/** Token info extracted from [tokens] messages */
export interface TokenInfo {
    inputTokens: number;
    outputTokens: number;
}
/** Parse a [tokens] message */
export declare function parseTokensMessage(message: string): TokenInfo;
/** Parse all lines from raw content string */
export declare function parseLogContent(content: string): ParsedLogLine[];
//# sourceMappingURL=parse-log-line.d.ts.map