import { IZDeserialize } from './deserialize.mjs'; /** * A deserializer that attempts to deserialize multiple times through a series of supported languages. * * @param T - * The type of data to deserialize. * @param S - * The input type */ export declare class ZDeserializeTry implements IZDeserialize { private _children; /** * Initializes a new instance of this object. * * @param _children - * The list of deserializer objects to try on a specific candidate. * The first deserializer to succeed will return the target object. * If no deserializer is able to deserialize the candidate, then an * error is throw with a mapping of serialization errors between each * deserializer. */ constructor(_children: IZDeserialize[]); deserialize(candidate: S): T; }