@somecat/ai-assist-sdk 1.0.0

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ import { App as VueApp } from '../../vue/dist/vue.esm-bundler.js';
2
+ import { default as AiAssist } from './components/AiAssist.vue';
3
+ import { AiAssistConfig } from '../core/types';
4
+ export type { AiAssistConfig };
5
+ export declare const initAiAssist: (config: AiAssistConfig) => void;
6
+ export declare const mountAiAssist: (container?: HTMLElement) => void;
7
+ export declare const unmountAiAssist: () => void;
8
+ export { AiAssist };
9
+ /**
10
+ * Vue3 插件安装方式
11
+ * @example
12
+ * // main.ts
13
+ * import { createApp } from 'vue'
14
+ * import AiAssistPlugin from 'ai-assist-sdk/vue'
15
+ * const app = createApp(App)
16
+ * app.use(AiAssistPlugin, { ...config })
17
+ * // 然后在 App.vue 中使用 <AiAssist />
18
+ */
19
+ declare const _default: {
20
+ install(app: VueApp, config: AiAssistConfig): void;
21
+ };
22
+ export default _default;