import { ObjectId } from 'bson'; import { TransformFnParams } from 'class-transformer'; declare const toStringArray: (value: string | string[]) => string[]; declare const toMongoId: (value: string) => ObjectId; declare const toMongoIdArray: (values: string | string[]) => ObjectId[]; declare const toBoolean: (value: string) => value is "true"; declare const stringArrayTransformer: (params: TransformFnParams) => string[]; declare const mongoIdTransformer: (params: TransformFnParams) => ObjectId; declare const mongoIdArrayTransformer: (params: TransformFnParams) => ObjectId[]; declare const booleanTransformer: (params: TransformFnParams) => boolean; export { toStringArray, toMongoId, toMongoIdArray, toBoolean, stringArrayTransformer, mongoIdTransformer, mongoIdArrayTransformer, booleanTransformer }; export * from './validate-pid.pipe'; export * from './validate-mongo-id.pipe';