/** * @function CacheResponse * @description * Custom decorator to enable response caching for a controller method using NestJS CacheInterceptor. * This improves performance by avoiding repeated execution for identical requests. * * If a TTL (Time-To-Live) is provided, the cached result will expire after the given duration (in milliseconds). * * @param {number} [ttl] - Optional time-to-live for the cached response in milliseconds. * @returns {MethodDecorator} A method decorator that applies caching logic to the handler. */ export declare function CacheResponse(ttl?: number): MethodDecorator;