import { EApiRouteType } from '../../../enum/decorator/api';
import { IApiBaseEntity } from '../../../interface/api-base-entity.interface';
import { Type } from '@nestjs/common';
import { TApiControllerPropertiesRoute } from '../../../type/decorator/api/controller';
/**
 * Serializes a generated route response with the route DTO and serialization settings.
 * @template E - Entity type owned by the route.
 * @template R - Response value type.
 * @param {TApiControllerPropertiesRoute<E, EApiRouteType>} routeConfig - Route configuration containing response serialization settings.
 * @param {Type<unknown> | undefined} dto - DTO type used for response serialization.
 * @param {R} response - Response value to serialize.
 * @returns {R} Serialized response value.
 */
export declare function ApiControllerSerializeRouteResponse<E extends IApiBaseEntity, R>(routeConfig: TApiControllerPropertiesRoute<E, EApiRouteType>, dto: Type<unknown> | undefined, response: R): R;
