1 | import { ClassTransformOptions } from "./ClassTransformOptions";
|
2 | import { TypeMetadata } from "./metadata/TypeMetadata";
|
3 | export declare enum TransformationType {
|
4 | PLAIN_TO_CLASS = 0,
|
5 | CLASS_TO_PLAIN = 1,
|
6 | CLASS_TO_CLASS = 2
|
7 | }
|
8 | export declare class TransformOperationExecutor {
|
9 | private transformationType;
|
10 | private options;
|
11 | private recursionStack;
|
12 | constructor(transformationType: TransformationType, options: ClassTransformOptions);
|
13 | transform(source: Object | Object[] | any, value: Object | Object[] | any, targetType: Function | TypeMetadata, arrayType: Function, isMap: boolean, level?: number): any;
|
14 | private applyCustomTransformations;
|
15 | private isCircular;
|
16 | private getReflectedType;
|
17 | private getKeys;
|
18 | private checkVersion;
|
19 | private checkGroups;
|
20 | }
|
21 | export declare function testForBuffer(): boolean;
|