import type { PlatformAdapter } from "./platform.js"; import type { TelemetryOutcome } from "./telemetry.js"; export interface TelemetryRunRecord { readonly schemaVersion: 2; readonly runId: string; readonly traceId: string; readonly rootSpanId: string; readonly parentSpanId?: string; readonly parentRunId?: string; readonly projectId: string; readonly agent: string; readonly clientSessionIdHash?: string; readonly startedAt: string; readonly endedAt: string; readonly outcome: TelemetryOutcome; readonly source: "afd-otel"; } export declare function recordTelemetryRun(record: TelemetryRunRecord, retentionDays: number, adapter?: PlatformAdapter, now?: number): Promise; export declare function findTelemetryRun(runId: string, adapter?: PlatformAdapter): Promise; //# sourceMappingURL=telemetry-correlation.d.ts.map