import type { OtelClientFunctions } from '~/src/types'; import type { Trace, Span, Log } from '../otel/parse/parser.js'; declare global { var __nuxtOtelTraces: Trace[] | undefined; var __nuxtOtelSpans: Span[] | undefined; var __nuxtOTelLogs: Log[] | undefined; var __nuxtOtelRpcBroadcast: OtelClientFunctions | undefined; } export declare function getTraces(): Trace[]; export declare function getSpans(traceId?: string): Span[]; export declare function clearTraces(): void; export declare function clearLogs(): void; export declare function addSpans(spans: Span[]): void; export declare function addTraces(traces: Trace[]): void; export declare function addLogs(logs: Log[]): void; export declare function getLogs(): Log[];