/**
 * Log file discovery and reading.
 *
 * Discovers pino log files in .cleo/logs/ directories,
 * reads them synchronously or via async streaming.
 *
 * @task T5187
 * @epic T5186
 */
import type { LogDiscoveryOptions, LogFileInfo } from './types.js';
/**
 * Get the project log directory path.
 * Uses getLogDir() from logger if available, falls back to config-based resolution.
 */
export declare function getProjectLogDir(cwd?: string): string | null;
/**
 * Get the global log directory path (~/.cleo/logs/).
 */
export declare function getGlobalLogDir(): string;
/**
 * Discover all log files in the specified scope.
 * Returns file info sorted by date (newest first).
 */
export declare function discoverLogFiles(options?: LogDiscoveryOptions, cwd?: string): LogFileInfo[];
/**
 * Read all lines from a log file synchronously.
 * Returns raw JSON strings (one per line). Suitable for small-to-medium files.
 */
export declare function readLogFileLines(filePath: string): string[];
/**
 * Create an async iterable over lines of a log file.
 * Suitable for large files -- does not load entire file into memory.
 */
export declare function streamLogFileLines(filePath: string): AsyncGenerator<string>;
//# sourceMappingURL=log-reader.d.ts.map