/**
 * External OTLP logs export — the log sibling of tracing.ts's OTLP span export.
 *
 * When `OTEL_EXPORTER_OTLP_ENDPOINT` is set (dev only, e.g. an otel-collector / otel-tui),
 * structured console logs are also emitted as OpenTelemetry LogRecords and shipped to that
 * collector via the OTLP/HTTP logs exporter — in addition to the CLI ingest channel
 * (HttpLogExporter → /v1/logs). Mirrors how tracing.ts adds an OTLPTraceExporter alongside
 * the CLI's HttpSpanExporter. With no endpoint configured this module is inert: `emitOtelLog`
 * is a zero-cost no-op.
 *
 * Trace correlation is automatic — the SDK's Logger.emit captures the active span context, so
 * each log record is linked to the span it was written under.
 */
import { type LogAttributes } from '@opentelemetry/api-logs';
type LogType = 'stdout' | 'stderr' | 'warn' | 'info';
/**
 * Emit a structured log to the external OTLP collector. No-op unless an OTLP endpoint
 * is configured. Never throws — telemetry must not break the bot.
 */
export declare function emitOtelLog(type: LogType, body: string, attributes?: LogAttributes): void;
/** Flush + shut down the OTLP logs pipeline on process exit. No-op when unconfigured. */
export declare function shutdownLogging(): Promise<void>;
export {};
//# sourceMappingURL=logging.d.ts.map