/** * 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; export declare function mergeVoiceTranscriptsIntoUserText(prepared: (InboundAttachmentInput | MediaRef)[] | undefined, userText: string, sttConfig: STTConfig, opts?: { skipVoiceTranscription?: boolean; }): Promise<{ text: string; inboundVoice: boolean; voiceTranscripts: string[]; }>;