import { ClassConstructor } from 'class-transformer'; import { LogManager } from '../port/log/log.manager.port'; export declare class Guard { static logManager: LogManager; /** * Checks if value is empty. Accepts strings, numbers, booleans, objects and arrays. */ static isEmpty(value: unknown): boolean; /** * Checks length range of a provided number/string/array */ static lengthIsBetween(value: number | string | Array, min: number, max: number): boolean; /** * * @param dto Data transfer object with class-validator decorators * @param obj Instance of the class * @returns boolean */ static responseIsValid>(dto: T, obj: Object): Promise; /** * * @param dto Data transfer object with class-validator decorators * @param response Array of objects to be validated * @returns Array of objects that are valid */ static filterValidResponses(dto: any, response: any): Promise; } //# sourceMappingURL=guard.d.ts.map