UNPKG

729 BTypeScriptView Raw
1import { ClassTransformOptions, TypeMetadata } from './interfaces';
2import { TransformationType } from './enums';
3export declare class TransformOperationExecutor {
4 private transformationType;
5 private options;
6 private recursionStack;
7 constructor(transformationType: TransformationType, options: ClassTransformOptions);
8 transform(source: Record<string, any> | Record<string, any>[] | any, value: Record<string, any> | Record<string, any>[] | any, targetType: Function | TypeMetadata, arrayType: Function, isMap: boolean, level?: number): any;
9 private applyCustomTransformations;
10 private isCircular;
11 private getReflectedType;
12 private getKeys;
13 private checkVersion;
14 private checkGroups;
15}