export declare const SpanStatus: { readonly ok: 1; readonly error: 2; }; export interface SpanOptions { name: string; op?: string; attributes?: Record; newTrace?: boolean; } export interface Span { setAttribute(key: string, value: string | number | boolean): void; setStatus(status: { code: number; message?: string; }): void; } export interface Tracer { startSpan(options: SpanOptions, run: (span: Span) => Promise): Promise; } export declare const noopTracer: Tracer;