import { PipeTransform } from '@nestjs/common'; export declare class OptionalParseIntPipe implements PipeTransform { /** * Transforms the given value into a number if it is not already one. * If the value is null or undefined, it is returned as is. * If the value is a string, it is parsed as a number. If the parsing fails, * a BadRequestException is thrown. * @param value The value to be transformed. * @returns The transformed value. * @throws BadRequestException if the value is a string and cannot be parsed as a number. */ transform(value: any): any; } //# sourceMappingURL=optional-parse-int.pipe.d.ts.map