import type { Span, Tracer } from '@opentelemetry/api'; import type { SessionStore } from '../../../store/session-store.interface.js'; export interface InstrumentationContext { tracer: Tracer; store: SessionStore; } export interface SpanWrapper { span: Span; execute(operation: () => Promise): Promise; } export interface OperationResult { result: T; success: boolean; error?: Error; } export interface SessionAttributes { 'session.id'?: string; 'session.user_id'?: string; 'session.operation': string; 'session.found'?: boolean; 'session.exists'?: boolean; 'session.success'?: boolean; [key: string]: string | number | boolean | undefined; } export interface MetricsLabels { user_id?: string; reason?: string; operation?: string; [key: string]: string | number | boolean | undefined; } //# sourceMappingURL=types.d.ts.map