/** * ConsoleExporter, development-mode span exporter. * * Writes formatted span summaries to stderr. Intended for local development * and debugging, should not be used in production. */ import type { ReadableSpan, SpanExporter } from '../types.js'; /** Verbosity level for console output. */ export type ConsoleVerbosity = 'minimal' | 'standard' | 'verbose'; /** Configuration for ConsoleExporter. */ export interface ConsoleExporterConfig { /** * How much detail to include per span. * - `minimal`, span name + status + duration only. * - `standard`, adds attributes (default). * - `verbose`, adds events and full attribute values. */ readonly verbosity?: ConsoleVerbosity | undefined; } /** * ConsoleExporter, prints span data to stderr for development. * * Usage: * ```ts * const exporter = new ConsoleExporter({ verbosity: 'standard' }); * ``` */ export declare class ConsoleExporter implements SpanExporter { readonly name = "console"; private readonly verbosity; constructor(config?: ConsoleExporterConfig); /** Export spans by printing formatted summaries to stderr. */ export(spans: ReadableSpan[]): Promise; /** Flush is a no-op because this exporter does not own buffering. */ flush(): Promise; /** Shutdown is a no-op. */ shutdown(): Promise; /** Format a single span for console output. */ private _format; private _logSpanFailure; } //# sourceMappingURL=console.d.ts.map