import { randomUUID } from 'node:crypto';
/**
 * Tier 0: No-op memory backend.
 *
 * The framework works without any memory backend at all.
 * store() generates and returns a valid ID but persists nothing.
 * retrieve() always returns empty. delete/deprecate/close are no-ops.
 */
export class NullMemoryBackend {
    tier = 'none';
    async store(_entry) {
        return randomUUID();
    }
    async retrieve(_query) {
        return [];
    }
    async delete(_id) {
        // no-op
    }
    async deprecate(_id) {
        // no-op
    }
    async close() {
        // no-op
    }
}
//# sourceMappingURL=null-backend.js.map