export class DebugPipe { constructor(params: any, store: any); params: any; store: any; isEnabled: boolean; tests: any[]; logFilePath: string; rootPath: string; historyDir: string; testomatioEnvVars: {}; flushOnExit: () => void; exitListenerAttached: boolean; /** * Logs data to a file if logging is enabled. * * @param {Object} logData - The data to be logged. * @returns {Promise} A promise that resolves when the log data has been appended to the file. */ logToFile(logData: any): Promise; lastActionTimestamp: number; prepareRun(opts: any): Promise; createRun(params?: {}): Promise; addTest(data: any): Promise; finishRun(params: any): Promise; /** * Logs artifacts data to the debug file. * Used for trace.zip, video files and other artifacts uploaded after tests finish. * @param {Array} artifacts - Array of artifacts with { rid, title, path, type } */ addArtifacts(artifacts: any[]): void; sync(): Promise; /** * Writes any buffered tests to the debug file as a single batch. * Runs synchronously so it can also be invoked from a process `exit` handler, * which is the only chance to persist tests when a hook failure (e.g. a failing * AfterSuite) prevents `finishRun` from being reached. Idempotent: the buffer is * drained on flush, so a later `finishRun`/exit flush is a no-op. */ flushBufferedTests(): void; toString(): string; }