import type { JevOutcomeReport, ObservabilityAttributes, ReportUserFacingErrorOptions, RunScopeContext, SubagentOutcomeReport } from "./types.js"; export interface ObservabilitySpan { end(options?: { attributes?: ObservabilityAttributes; error?: unknown; }): void; } export declare function metricAttributes(attributes: Record): ObservabilityAttributes; export declare function recordCounter(name: string, value: number, attributes?: ObservabilityAttributes): void; export declare function recordDistribution(name: string, value: number, options?: { unit?: string; attributes?: ObservabilityAttributes; }): void; export declare function recordGauge(name: string, value: number, options?: { unit?: string; attributes?: ObservabilityAttributes; }): void; export declare function createRunAttributionAttributes(context: RunScopeContext): ObservabilityAttributes; export declare function withRunSpan(context: RunScopeContext, body: () => Promise): Promise; export declare function startOperationSpan(name: string, attributes?: ObservabilityAttributes): ObservabilitySpan; export declare function updateActiveSpanAttribution(attributes: ObservabilityAttributes): void; export declare function addLifecycleEvent(name: string, attributes?: Record): void; export declare function recordDiagnosticEvent(name: string, data: Record): void; export declare function reportUserFacingError(error: unknown, options: ReportUserFacingErrorOptions): string | undefined; export declare function captureError(error: unknown): string | undefined; export declare function shutdownObservability(timeoutMs: number): Promise; export declare function recordSubagentOutcome(report: SubagentOutcomeReport): string | undefined; export declare function reportSubagentLaunchError(error: unknown, report: Pick): string | undefined; export declare function recordJevOutcome(report: JevOutcomeReport): void; //# sourceMappingURL=index.d.ts.map