import type { BrowserContext } from 'playwright-core'; export declare function listTraceArtifacts(userId: string): Array<{ filename: string; size: number; createdAt: number; }>; export declare function resolveTraceArtifactPath(userId: string, filename: string): string; export declare function deleteTraceArtifact(userId: string, filename: string): boolean; export declare function startTracing(userId: string, context: BrowserContext, options?: { screenshots?: boolean; snapshots?: boolean; }): Promise; export declare function stopTracing(userId: string, context: BrowserContext, outputPath?: string): Promise<{ path: string; size: number; alreadyStopped?: boolean; }>; export declare function startTracingChunk(userId: string, context: BrowserContext): Promise; export declare function stopTracingChunk(userId: string, context: BrowserContext, outputPath?: string): Promise<{ path: string; size: number; }>; export declare function getTracingState(userId: string): { active: boolean; chunkActive: boolean; startedAt: number | null; }; export declare function cleanupTracing(userId: string): void; //# sourceMappingURL=tracing.d.ts.map