/** * Collection lifecycle manager */ import type { QdrantClientWrapper } from './qdrant-client.js'; import type { CollectionConfig, CollectionInfo, SchemaVersion } from './types.js'; /** * Manages Qdrant collection lifecycle */ export declare class CollectionManager { private client; constructor(client: QdrantClientWrapper); /** * Create a new collection */ createCollection(config: CollectionConfig): Promise; /** * Create payload indexes for efficient filtering * Indexes enable O(1) lookup on type, language, and path segments */ private createPayloadIndexes; /** * Delete a collection */ deleteCollection(collectionName: string): Promise; /** * Get collection information */ getCollectionInfo(collectionName: string): Promise; /** * Check if collection exists */ exists(collectionName: string): Promise; /** * Ensure collection exists, create if it doesn't */ ensureCollection(config: CollectionConfig): Promise; /** * List all collections */ listCollections(): Promise; /** * Clear all points from a collection */ clearCollection(collectionName: string): Promise; /** * Get collection schema version */ getSchemaVersion(collectionName: string): Promise; /** * Recreate collection with new configuration */ recreateCollection(collectionName: string, newConfig: CollectionConfig): Promise; /** * Update collection optimizer config */ updateOptimizerConfig(collectionName: string, config: CollectionConfig['optimizerConfig']): Promise; } //# sourceMappingURL=collection-manager.d.ts.map