//#region src/utils/JsonTransformer.d.ts
interface Validate {
  validate?: boolean;
}
declare class JsonTransformer {
  static toJSON<T>(classInstance: T): Record<string, any>;
  static fromJSON<T>(json: any, cls: {
    new (...args: any[]): T;
  }, {
    validate
  }?: Validate): T;
  static clone<T>(classInstance: T): T;
  static serialize<T>(classInstance: T): string;
  static deserialize<T>(jsonString: string, cls: {
    new (...args: any[]): T;
  }, {
    validate
  }?: Validate): T;
}
//#endregion
export { JsonTransformer };
//# sourceMappingURL=JsonTransformer.d.ts.map