@lobehub/chat-plugin-sdk
Version:
Lobe Chat Plugin SDK, help you to build an amazing chat plugin for Lobe Chat
29 lines (28 loc) • 744 B
TypeScript
/**
* @deprecated
*/
export declare const postToFillPluginContent: (content: any, triggerAiMessage?: boolean | undefined) => void;
/**
* @deprecated
*/
export declare const postToUpdatePluginState: (key: string, value: any) => void;
/**
* @deprecated
*/
export declare const postToUpdatePluginSettings: (settings: any) => void;
/**
* @deprecated
*/
export declare const fetchPluginState: <T = any>(key: string) => Promise<T>;
/**
* @deprecated
*/
export declare const fetchPluginMessage: <T = any>() => Promise<T>;
/**
* @deprecated
*/
export declare const fetchPluginPayload: <T = any>() => Promise<import("./lobeChat").PluginPayload<T>>;
/**
* @deprecated
*/
export declare const fetchPluginSettings: <T = any>() => Promise<T>;