@codedevin/dify-chat
Version:
A beautiful and configurable chatbot widget for Dify integration with multiple display modes
20 lines (19 loc) • 548 B
TypeScript
import { DifyConfig, ChatTheme } from '../types';
export interface InitDifyChatOptions {
config: DifyConfig;
theme?: ChatTheme;
container?: string | HTMLElement;
}
/**
* Initialize Dify Chat Tools with global styles
*/
export declare const initDifyChat: (options: InitDifyChatOptions) => {
config: DifyConfig;
theme: ChatTheme | undefined;
container: string | HTMLElement | undefined;
};
/**
* Cleanup Dify Chat Tools global styles
*/
export declare const cleanupDifyChat: () => void;
//# sourceMappingURL=init.d.ts.map