type CI = 'github' | 'circleci' | 'travis' | 'azure' | 'buildkite' | 'jenkins' | 'gitlab' | 'bitbucket' | 'appveyor' | 'drone' | 'ci' | 'unknown'; export type ReporterOptions = { maxPerMinute?: number; env?: string; }; export interface Reporter { captureException(e: unknown): Promise; } export declare function detectCI(env?: Record): CI; export declare function parseDsn(dsn: string): { host: string; projectId: string; key: string; protocol: string; } | null; interface SentryFrame { function: string; raw_function: string; abs_path: string | undefined; filename: string | undefined; lineno: number | undefined; colno: number | undefined; context_line?: string; pre_context?: Array; post_context?: Array; } /** * Convert an error stack to Sentry frames (best-effort) */ export declare function parseFrames(stack: string, cwd?: string): Promise>; /** * Create a reporter with rate limiting */ export declare function createReporter(opts?: ReporterOptions): Reporter; export {}; //# sourceMappingURL=telemetry.d.ts.map