/**
 * Whether {@link initTelemetryExport} registered a real provider. The CLI uses
 * this to decide whether to switch on the agent loop's telemetry config — there
 * is no point emitting spans into a no-op tracer.
 */
export declare function isTelemetryExportEnabled(): boolean;
/**
 * Register the global TracerProvider + OTLP exporter when an OTLP endpoint is
 * configured via env. Idempotent, and a no-op when no endpoint is set (or when
 * the OTEL kill-switches are engaged), so it is safe to call unconditionally at
 * startup.
 */
export declare function initTelemetryExport(): Promise<void>;
/**
 * Flush any buffered spans to the exporter. No-op when export is disabled.
 * Hosts embedding the agent can call this at natural boundaries (e.g. the end
 * of a turn) so traces surface promptly rather than on the batch interval.
 */
export declare function flushTelemetryExport(): Promise<void>;
