28 lines
953 B
TypeScript
28 lines
953 B
TypeScript
/*!
|
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
*/
|
|
/**
|
|
* [[include:plugins/speech-recognize/README.md]]
|
|
* @packageDocumentation
|
|
* @module plugins/speech-recognize
|
|
*/
|
|
import type { IJodit, IPlugin } from "../../types/index";
|
|
import { Plugin } from "../../core/plugin/index";
|
|
import "./config";
|
|
export declare class SpeechRecognizeNative extends Plugin implements IPlugin {
|
|
buttons: {
|
|
group: string;
|
|
name: string;
|
|
}[];
|
|
protected afterInit(jodit: IJodit): void;
|
|
protected beforeDestruct(jodit: IJodit): void;
|
|
private messagePopup;
|
|
private __hidePopupTimeout;
|
|
protected onSpeechRecognizeProgressResult(text: string): void;
|
|
protected onSpeechRecognizeResult(text: string): void;
|
|
private _checkCommand;
|
|
private _commandToWord;
|
|
}
|