@blueking/chat-x 0.0.33 → 0.0.34
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.
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
import { type ComputedRef } from 'vue';
|
|
1
|
+
import { type ComputedRef, type MaybeRef } from 'vue';
|
|
2
|
+
import { RenderMode } from '../common/constants';
|
|
2
3
|
import type { AITippyProps } from '../types';
|
|
3
4
|
/**
|
|
4
5
|
* 执行情况下的全局搜索关键词 token
|
|
5
6
|
*/
|
|
6
7
|
export declare const KEYWORD_TOKEN: unique symbol;
|
|
8
|
+
export declare const RENDER_MODE_TOKEN: unique symbol;
|
|
7
9
|
export declare const COMMON_TIPPY_OPTIONS_TOKEN: unique symbol;
|
|
8
10
|
export declare const useKeywordProvider: () => {
|
|
9
11
|
keyword: import("vue").ShallowRef<string, string>;
|
|
10
12
|
};
|
|
13
|
+
export declare const useRenderModeProvider: ({ renderMode }: {
|
|
14
|
+
renderMode: MaybeRef<RenderMode>;
|
|
15
|
+
}) => {
|
|
16
|
+
renderMode: MaybeRef<RenderMode>;
|
|
17
|
+
};
|
|
18
|
+
export declare const useRenderModeInject: () => ComputedRef<RenderMode>;
|
|
11
19
|
export declare const useCommonTippyProvider: (options: {
|
|
12
20
|
tippyOptions: ComputedRef<AITippyProps | undefined>;
|
|
13
21
|
}) => void;
|