import { EventEmitter } from 'node:events'; import type { LogEntry, LogcatOpts as StartCaptureOptions } from './tools/types.js'; import type { ADBExecutable } from './types.js'; export interface LogcatOptions { adb: ADBExecutable; clearDeviceLogsOnStart?: boolean; debug?: boolean; debugTrace?: boolean; maxBufferSize?: number; } export declare class Logcat extends EventEmitter { private readonly adb; private readonly clearLogs; private readonly debug?; private readonly debugTrace?; private readonly maxBufferSize; private readonly logs; private logIndexSinceLastRequest; private proc; constructor(opts: LogcatOptions); startCapture(opts?: StartCaptureOptions): Promise; stopCapture(): Promise; getLogs(): LogEntry[]; getAllLogs(): LogEntry[]; clear(): Promise; private outputHandler; } export default Logcat; //# sourceMappingURL=logcat.d.ts.map