import { ValidationError } from "class-validator"; import "reflect-metadata"; import { ValidationFailedError } from "../utils"; import { ClassConstructor, Inferred } from "./dtos"; export declare class ObjectValidationFailedError extends ValidationFailedError { constructor(errors: ValidationError[]); } export declare class InvalidCompositeKeyError extends ValidationFailedError { constructor(message: string); } export declare abstract class ChainObject { static MIN_UNICODE_RUNE_VALUE: string; static COMPOSITEKEY_NS: string; static ID_SPLIT_CHAR: string; static ID_SUB_SPLIT_CHAR: string; serialize(): string; validate(): Promise; validateOrReject(): Promise; toPlainObject(): Record; copy(): this; static deserialize(constructor: ClassConstructor>, object: string | Record | Record[]): T; getCompositeKey(): string; static getCompositeKeyFromParts(indexKey: string, parts: unknown[]): string; static getStringKeyFromParts(parts: string[]): string; static getEncodableStringKeyFromParts(parts: string[]): string; static getPartsFromEncodableStringKey(stringKey: string, expectedParts: number): string[]; static encodeToBase58(stringKey: string): string; static decodeFromBase58(base58String: string): string; } //# sourceMappingURL=ChainObject.d.ts.map