UNPKG

@sberdevices/assistant-client

Version:

Модуль взаимодействия с виртуальным ассистентом

23 lines 767 B
import { createClient } from '../client/client'; import { EmotionId, OriginalMessageType } from '../../typings'; export declare const createVoice: (client: ReturnType<typeof createClient>, emit: (event: { asr?: { text: string; last?: boolean; mid?: OriginalMessageType['messageId']; }; emotion?: EmotionId; }) => void, onReady?: (() => void) | undefined) => { destroy: () => void; change: (newSettings: { disableDubbing?: boolean | undefined; disableListening?: boolean | undefined; }) => void; listen: ({ begin }?: { begin?: ArrayBuffer[] | undefined; }) => Promise<void>; shazam: () => void; stop: () => void; stopPlaying: () => void; }; //# sourceMappingURL=voice.d.ts.map