import { Type } from '@nestjs/common'; import { ReferenceObject, SchemaObject } from '@nestjs/swagger/dist/interfaces/open-api-spec.interface'; export declare class ApiResponseVo { code: number; msg: string; success: boolean; data: T; constructor(code: number, data: T, msg?: string); } export declare class PaginatedVo { total: number; list: T; constructor(total: number, list: T); } export declare class PaginatedDto { page?: number; size?: number; } export declare class Api { static success(data?: T, msg?: string): ApiResponseVo; static successMsg(msg: string): ApiResponseVo; static error(msg: string, code?: number): ApiResponseVo; static pagination(list: T, total: number): ApiResponseVo>; static ApiResponse>(opt?: { model?: T; codeDescription?: string; properties?: Record; }): (target: TFunction | object, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor) => void; static ApiPaginatedResponse>(opt: { model: T; codeDescription?: string; }): (target: TFunction | object, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor) => void; }