import type { ConsoleCaptureResult, NetworkCaptureResult, ErrorCaptureResult } from "../types.js"; export interface CaptureOptions { readonly waitMs?: number; } /** * Navigate to a URL and capture all console messages during page load. * Also captures uncaught exceptions via pageerror events. * Note: Console messages may contain sensitive data. */ export declare function captureConsoleLogs(url: string, options?: CaptureOptions): Promise; /** * Navigate to a URL and capture all network requests during page load. * Records request/response details including status, size, and timing. */ export declare function captureNetworkRequests(url: string, options?: CaptureOptions): Promise; /** * Navigate to a URL and capture all JavaScript errors, unhandled rejections, * and failed resource loads. */ export declare function capturePageErrors(url: string): Promise; /** * Format console capture results into a human-readable markdown report. */ export declare function formatConsoleReport(result: ConsoleCaptureResult): string; /** * Format network capture results into a human-readable markdown report. */ export declare function formatNetworkReport(result: NetworkCaptureResult): string; /** * Format error capture results into a human-readable markdown report. */ export declare function formatErrorReport(result: ErrorCaptureResult): string; //# sourceMappingURL=browser-capture.d.ts.map