/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { EventEmitter } from '@angular/core';
import { PromptBoxBaseTool } from './base-tool';
import { IntegrationMode } from '@progress/kendo-angular-buttons';
import { LocalizationService } from '@progress/kendo-angular-l10n';
import { SpeechToTextErrorEvent, SpeechToTextResultEvent } from '@progress/kendo-angular-buttons';
import * as i0 from "@angular/core";
/**
* Defines the **Speech to Text** button component for the PromptBox. Enables voice input through speech recognition.
*
* @example
* ```html
*
*
*
*
*
* ```
*/
export declare class PromptBoxSpeechToTextButtonComponent extends PromptBoxBaseTool {
private localization;
/**
* Specifies whether continuous results are returned for each recognition, or only a single result once recognition stops.
*
* @default false
*/
continuous: boolean;
/**
* Specifies which speech recognition engine or integration the component should use. Allows the component to operate in different environments or use alternative implementations.
*
* @default 'webSpeech'
*/
integrationMode: IntegrationMode;
/**
* Sets whether interim results should be returned.
*
* @default false
*/
interimResults: boolean;
/**
* Sets a `BCP 47` language for speech recognition.
*
* @default 'en-US'
*/
lang: string;
/**
* Represents the maximum number of alternative transcriptions to return for each result.
*
* @default 1
*/
maxAlternatives: number;
/**
* Fires when the user clicks the **Speech to Text** button.
* @hidden
*/
stbClick: EventEmitter;
/**
* Fires when the speech recognition service has begun listening to incoming audio.
* @hidden
*/
stbStart: EventEmitter;
/**
* Fires when the speech recognition service has disconnected.
* @hidden
*/
stbEnd: EventEmitter;
/**
* Fires when a speech recognition error occurs.
* @hidden
*/
stbError: EventEmitter;
/**
* Fires when the speech recognition service returns a result.
* @hidden
*/
stbResult: EventEmitter;
constructor(localization: LocalizationService);
/**
* @hidden
*/
textFor(key: string): string;
static ɵfac: i0.ɵɵFactoryDeclaration;
static ɵcmp: i0.ɵɵComponentDeclaration;
}