import { DataMeta } from "../interfaces/datamodel.interface"; /** * Decorator that invalidates cache after the method executes. * * @param meta - The entity metadata (provides endpoint for cache key) * @param id - Optional: The route param name to extract the entity ID. * If omitted, invalidates all entries for this type. * If provided, invalidates the specific element using req.params[id]. */ export declare function CacheInvalidate(meta: DataMeta, id?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; //# sourceMappingURL=cache-invalidate.decorator.d.ts.map