import type { Context } from 'hono';
import { Attribute, Span } from './otlp.js';
export declare function otelTracesHandler(ctx: Context): Promise<Response>;
export declare function toCloudEventAttributes(span: Span, clientContext: ClientContext, sessionId: string): Attribute[];
export declare function toSource(userId: string | undefined, sessionId: string): Source;
type ClientContext = {
    userId: string | undefined;
    clientIp: string | undefined;
    userAgent: string | undefined;
    acceptLanguage: string | undefined;
    locale: string | undefined;
};
type Source = {
    id: string;
    object: 'user' | 'anonymous';
    uri: string;
};
export {};
//# sourceMappingURL=otel.d.ts.map