import type { AnyObject, SearchResult } from './lib/types.js'; import type { Index } from './collection.js'; import type { OramaCloudSearchParams } from './lib/types.js'; import { CollectionManager } from './collection.js'; export interface ProjectManagerConfig { cluster?: { writerURL?: string; readURL?: string; }; projectId: string; apiKey: string; authJwtURL?: string; } export declare class OramaCloud { private client; identity: CollectionManager['identity']; ai: CollectionManager['ai']; collections: CollectionManager['collections']; index: CollectionManager['index']; hooks: CollectionManager['hooks']; logs: CollectionManager['logs']; systemPrompts: CollectionManager['systemPrompts']; tools: CollectionManager['tools']; shelves: CollectionManager['shelves']; pinningRules: CollectionManager['pinningRules']; constructor(config: ProjectManagerConfig); search(params: OramaCloudSearchParams): Promise; dataSource(id: string): DataSourceNamespace; } declare class DataSourceNamespace { private client; private originalRuntimeIndexId?; private index; constructor(index: Index, client: CollectionManager, originalRuntimeIndexId?: string | undefined); reindex(): Promise; insertDocuments(documents: AnyObject | AnyObject[]): Promise; deleteDocuments(documentIDs: string | string[]): Promise; upsertDocuments(documents: AnyObject[]): Promise; createTemporaryIndex(): Promise; swap(): Promise; } export {}; //# sourceMappingURL=cloud.d.ts.map