import { ArgumentMetadata, PipeTransform } from './pipe-protocol.js'; /** * Converts request data to a `String`, `Number`, `Boolean` or `Date` parameter as class-transformer did: * `'5'` → `5`, `'abc'` → `NaN`, `'false'` → `true` (any non-empty string), arrays item by item; * `null` and `undefined` stay. Parameters of other types get the data as it is; `@celljs/validation` * turns it into instances of the parameter class and validates them. */ export declare class TypeConversionPipe implements PipeTransform { readonly priority = 1000; transform(value: any, { argType }: ArgumentMetadata): any; protected convert(type: Function, value: unknown): unknown; }