import type { RecorderEvent, RecorderReport } from "../client/recorder.js"; export declare const PROBLEM_REPORT_SUMMARY_MAX_BYTES: number; export declare function clipText(text: string, maxChars: number): string; export declare function isFailedRecorderEvent(event: RecorderEvent): boolean; export declare function countRecorderEventsByType(events: RecorderEvent[]): Record; export declare function formatRecorderEvent(event: RecorderEvent, maxDataChars: number): string; export declare function formatProblemReportSummary(report: RecorderReport, ref: string): string;