@magemetrics/ai 0.5.1 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/ai.js +10122 -9513
- package/dist/react/index.d.ts +7 -5
- package/dist/styles.css +1 -1
- package/dist/web-component/index.d.ts +7 -5
- package/dist/web-component/web-component.es.js +23592 -23001
- package/package.json +2 -2
|
@@ -20,6 +20,12 @@ import { UseMutationOptions } from '@tanstack/react-query';
|
|
|
20
20
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
21
21
|
import { z } from 'zod';
|
|
22
22
|
|
|
23
|
+
declare type AssemblyAIMicrophoneController = {
|
|
24
|
+
status: "idle" | "starting" | "recording";
|
|
25
|
+
startRecording: (onTranscript: (text: string) => void) => Promise<void>;
|
|
26
|
+
stopRecording: () => Promise<void>;
|
|
27
|
+
};
|
|
28
|
+
|
|
23
29
|
export { AuthState }
|
|
24
30
|
|
|
25
31
|
export declare type CellContentProps = {
|
|
@@ -995,11 +1001,7 @@ export declare const useRecentFlows: (limit?: number) => UseQueryResult< {
|
|
|
995
1001
|
application_id?: number | null | undefined;
|
|
996
1002
|
}[], Error>;
|
|
997
1003
|
|
|
998
|
-
export declare const useSpeechToText: () =>
|
|
999
|
-
status: "idle" | "starting" | "recording";
|
|
1000
|
-
startRecording: (onTranscript: (text: string) => void) => Promise<void>;
|
|
1001
|
-
stopRecording: () => Promise<void>;
|
|
1002
|
-
};
|
|
1004
|
+
export declare const useSpeechToText: () => AssemblyAIMicrophoneController;
|
|
1003
1005
|
|
|
1004
1006
|
declare type V1FrontendVisualization = z.output<typeof V1FrontendVisualizationSchema>;
|
|
1005
1007
|
|