@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
18 lines (14 loc) • 528 B
text/typescript
import { ImportPgDataStructure } from '@/types/export';
import { ImporterEntryData, OnImportCallbacks } from '@/types/importer';
import { UserSettings } from '@/types/user/settings';
export interface IImportService {
importData(data: ImporterEntryData, callbacks?: OnImportCallbacks): Promise<void>;
importPgData(
data: ImportPgDataStructure,
options?: {
callbacks?: OnImportCallbacks;
overwriteExisting?: boolean;
},
): Promise<void>;
importSettings(settings: UserSettings): Promise<void>;
}