import { DynamicModule } from '@nestjs/common'; import { LikeModuleOptions } from './like-module-options.interface'; /** * LikeModule dynamically registers controllers and services * to handle "like" functionality for a given resource model. * * Why: Many resources (e.g. blogposts, events, demos) can be liked, * but duplicating controller/service logic for each would be error-prone. * Instead, this module centralizes the like-related logic, keeping it * consistent while still allowing customization via options. */ export declare class LikeModule { /** * Dynamically registers a LikeController bound to the provided model * and optional route suffix. * * @param {LikeModuleOptions} options - Configuration for the resource model and route. * @returns {DynamicModule} The dynamically created module definition. */ static forFeature(options: LikeModuleOptions): DynamicModule; }