/** * Describes a complex type. Takes two pure function which are exact inverses of each other. * The first is the serialization function which should return something that can be serialized * successfully by JSON.stringify. The second is the deserialization function which returns the * result of deserializing the serialize returns. * https://fnx.js.org/docs/api/complex.html * @param serialize Serializes the complex value. Result is passed into JSON.stringify * @param deserialize Deserializes the value into the complex type. */ export declare const complex: { (serialize: (complexValue: ComplexType) => PrimitiveType, deserialize: (primitiveValue: PrimitiveType) => ComplexType): ComplexType; date: Date; regexp: RegExp; };