/** * STT for webchat voice attachments: merge transcripts into user text and track inbound voice for TTS trigger. */ import type { STTConfig } from '../../voice/stt/types.js'; import { type InboundAttachmentInput, type MediaRef } from './inbound-persist.js'; export declare function isVoiceLikeAttachment(att: InboundAttachmentInput | MediaRef): boolean; /** True when the user explicitly asks the agent to inspect the original recording. */ export declare function requestsOriginalVoiceInspection(text: string): boolean; export declare function mergeVoiceTranscriptsIntoUserText(prepared: (InboundAttachmentInput | MediaRef)[] | undefined, userText: string, sttConfig: STTConfig, opts?: { skipVoiceTranscription?: boolean; }): Promise<{ text: string; inboundVoice: boolean; voiceTranscripts: string[]; transcribedMediaUris: string[]; }>;