import type { PropType } from 'vue'; import type { OnTextZone, SpeechToText, SubmitRawEvent } from './types'; export declare const props: { /** * 自定义转为文本区域事件 */ onTextZone: { type: PropType; default: undefined; }; /** * 遮罩层 appendTo */ appendTo: { type: null; default: string; }; disabled: { type: BooleanConstructor; default: boolean; }; /** * 语音转文本函数 */ speechToText: { type: PropType; default: undefined; }; /** * @description 是否直接使用提交文本输出 */ submitToText: { type: BooleanConstructor; default: boolean; }; }; export declare const emits: { submitText: (text: string) => boolean; submit: (_: SubmitRawEvent) => boolean; error: (_: Error) => boolean; };