/**
 * @fileoverview Shared OTel metrics for speech providers (TTS and STT).
 * Lazy-initialized on first use to avoid meter overhead when speech is never invoked.
 * @module src/services/speech/core/speechMetrics
 */
import type { Span } from '@opentelemetry/api';
export declare function getSpeechMetrics(): {
    speechOpCounter: import("@opentelemetry/api").Counter<import("@opentelemetry/api").Attributes>;
    speechOpDuration: import("@opentelemetry/api").Histogram<import("@opentelemetry/api").Attributes>;
    speechOpErrors: import("@opentelemetry/api").Counter<import("@opentelemetry/api").Attributes>;
};
/**
 * Records speech operation metrics and span attributes in a `finally` block.
 * Shared by both ElevenLabs (TTS) and Whisper (STT) providers.
 */
export declare function recordSpeechOp(span: Span, t0: number, ok: boolean, operation: 'tts' | 'stt', provider: string): void;
//# sourceMappingURL=speechMetrics.d.ts.map