import { TranscriberFactory } from "ivr-tester";
/**
 * Options used when starting a transcription stream to Google's Speech-to-Text service. See [Google's documentation
 * for more detailed info](https://cloud.google.com/speech-to-text/docs/reference/rest/v1/RecognitionConfig)
 */
export interface GoogleSpeechToTextOptions {
    /**
     * Language of the supplied audio as a BCP-47 language tag.
     *
     * See [Language Support](https://cloud.google.com/speech-to-text/docs/languages) for a list of the
     * currently supported language codes.
     */
    languageCode?: string;
    /**
     * A list of strings containing words and phrases "hints" so that the speech recognition is more likely to recognize
     * them. This can be used to improve the accuracy for specific words and phrases.
     */
    speechPhrases?: string[];
    /**
     * Whether to use an enhanced model for speech recognition if it is available for the language code provided.
     *
     * Be aware that [enhanced models cost more](https://cloud.google.com/speech-to-text/docs/enhanced-models).
     */
    useEnhanced?: boolean;
}
/**
 * Factory for creating a Google Speech-to-Text transcriber plugin that is preconfigured for
 * phone-calls - specifically 8-bit PCM mono uLaw with a sampling rate of 8Khz.
 */
export declare const googleSpeechToText: ({ languageCode, speechPhrases, useEnhanced, }?: GoogleSpeechToTextOptions, speechClient?: import("@google-cloud/speech/build/src/v1").SpeechClient) => TranscriberFactory;
export default googleSpeechToText;
