import { APIKeyAuth } from '../api/auth'; import { KnowledgeBaseConfig, KnowledgeBaseOptions } from './types'; /** * Knowledge Base client for managing knowledge bases and file operations */ export declare class KnowledgeBase extends APIKeyAuth { kb?: KnowledgeBaseConfig; private _validFilePaths; constructor(kbName?: string, options?: KnowledgeBaseOptions); /** * Update name of Knowledge Base and/or add files to it */ updateKb({ kbName, newName, filePaths }: { kbName: string; newName?: string; filePaths?: string | string[]; }): Promise; /** * Delete files from the Knowledge Base */ deleteFilesFromKb({ kbName, fileNames }: { kbName: string; fileNames: string[]; }): Promise; /** * Delete a Knowledge Base */ deleteKb({ kbNames, kbIds }?: { kbNames?: string | string[]; kbIds?: string | string[]; }): Promise; /** * Create a Knowledge Base */ createKb(name?: string, filePaths?: string | string[]): Promise; /** * List all knowledge bases */ listKbs(search?: string): Promise; /** * Get knowledge base by name */ private _getKbFromName; /** * Validate file paths */ private _checkFilePaths; } export default KnowledgeBase; //# sourceMappingURL=client.d.ts.map