/** * Context storage interface for Universal Context Management System */ import type { Context, SearchFilters } from '../types/context.js'; /** * Interface for context storage operations */ export interface IContextStorage { /** * Initialize storage (create directories, load index) */ initialize(): Promise; /** * Save a context */ save(context: Context): Promise; /** * Get context by ID */ getById(id: string): Promise; /** * Get context by name */ getByName(name: string): Promise; /** * Search contexts */ search(query: string, filters?: SearchFilters): Promise; /** * List all contexts */ list(filters?: SearchFilters): Promise; /** * Update context */ update(context: Context): Promise; /** * Delete context */ delete(id: string): Promise; } //# sourceMappingURL=context-storage.d.ts.map