import { SpanExporter } from './SpanExporter'; import { ReadableSpan } from './ReadableSpan'; import { ExportResult } from '@opentelemetry/core'; /** * This is implementation of {@link SpanExporter} that prints spans to the * console. This class can be used for diagnostic purposes. */ export declare class ConsoleSpanExporter implements SpanExporter { /** * Export spans. * @param spans * @param resultCallback */ export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void; /** * Shutdown the exporter. */ shutdown(): Promise; /** * converts span info into more readable format * @param span */ private _exportInfo; /** * Showing spans in console * @param spans * @param done */ private _sendSpans; } //# sourceMappingURL=ConsoleSpanExporter.d.ts.map