UNPKG

@picovoice/rhino-react

Version:

React component for Rhino Web SDK

12 lines 501 B
import { RhinoContext, RhinoOptions, RhinoInference, RhinoModel } from '@picovoice/rhino-web'; export declare function useRhino(): { inference: RhinoInference | null; contextInfo: string | null; isLoaded: boolean; isListening: boolean; error: Error | null; init: (accessKey: string, context: RhinoContext, model: RhinoModel, options?: RhinoOptions) => Promise<void>; process: () => Promise<void>; release: () => Promise<void>; }; //# sourceMappingURL=use_rhino.d.ts.map