import type { STTConfig } from './types.js';
export interface AudioPreflightInput {
    audioBuffer: Buffer;
    mimeType?: string;
    sttConfig: STTConfig;
    language?: string;
}
export interface AudioPreflightResult {
    success: boolean;
    transcribedText?: string;
    provider?: string;
    duration?: number;
    error?: string;
}
/**
 * Transcribe audio before mention routing (e.g. group voice → detect spoken @bot).
 */
export declare function audioPreflightTranscribe(input: AudioPreflightInput): Promise<AudioPreflightResult>;
/**
 * Spoken @bot variants ("at botname", "hey botname") for STT text.
 */
export declare function checkMentionInTranscription(transcribedText: string, botNames: string[]): boolean;
