import type { Collection } from './types.js'; /** * List all collection names (filenames without .md extension). */ export declare function listCollections(): Promise; /** * Load a collection by name. * Returns null if the collection doesn't exist. */ export declare function loadCollection(name: string): Promise; /** * Get a single item from a collection. */ export declare function getCollectionItem(collectionName: string, key: string): Promise; /** * Count items in a collection. */ export declare function countCollectionItems(collectionName: string): Promise; /** * Save a collection. Creates or overwrites the file. */ export declare function saveCollection(collection: Collection): Promise; /** * Set a single item in a collection (creates collection if needed). */ export declare function setCollectionItem(collectionName: string, key: string, value: string, description?: string): Promise; /** * Remove a single item from a collection. * Returns true if the item existed and was removed. */ export declare function removeCollectionItem(collectionName: string, key: string): Promise; /** * Delete an entire collection file. */ export declare function deleteCollection(name: string): Promise; //# sourceMappingURL=collections.d.ts.map