import type { Counter, Histogram, Span } from "@opentelemetry/api"; type AttributeValue = string | number | boolean; type Attributes = Record; declare const counters: Record; declare const histograms: Record; export declare function initObservability(): Promise; export declare function shutdownObservability(): Promise; export declare function withSpan(name: string, attrs: Attributes, fn: (span: Span | undefined) => Promise | T): Promise; export declare function getCurrentTraceId(): string | undefined; export declare function incCounter(name: keyof typeof counters, attrs?: Attributes, count?: number): void; export declare function recordHistogram(name: keyof typeof histograms, value: number, attrs?: Attributes): void; export {};