import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The value of the additional data
 */
export type Value = string | Array<string>;
export type AdditionalData = {
    /**
     * The name of the additional data field. Speak to your Solutions Engineer to understand the id for the specific use case
     */
    id?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * The value of the additional data
     */
    value?: string | Array<string> | null | undefined;
};
/** @internal */
export declare const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
/** @internal */
export type Value$Outbound = string | Array<string>;
/** @internal */
export declare const Value$outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Value$ {
    /** @deprecated use `Value$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
    /** @deprecated use `Value$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
    /** @deprecated use `Value$Outbound` instead. */
    type Outbound = Value$Outbound;
}
export declare function valueToJSON(value: Value): string;
export declare function valueFromJSON(jsonString: string): SafeParseResult<Value, SDKValidationError>;
/** @internal */
export declare const AdditionalData$inboundSchema: z.ZodType<AdditionalData, z.ZodTypeDef, unknown>;
/** @internal */
export type AdditionalData$Outbound = {
    id?: string | null | undefined;
    remote_id?: string | null | undefined;
    value?: string | Array<string> | null | undefined;
};
/** @internal */
export declare const AdditionalData$outboundSchema: z.ZodType<AdditionalData$Outbound, z.ZodTypeDef, AdditionalData>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AdditionalData$ {
    /** @deprecated use `AdditionalData$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AdditionalData, z.ZodTypeDef, unknown>;
    /** @deprecated use `AdditionalData$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AdditionalData$Outbound, z.ZodTypeDef, AdditionalData>;
    /** @deprecated use `AdditionalData$Outbound` instead. */
    type Outbound = AdditionalData$Outbound;
}
export declare function additionalDataToJSON(additionalData: AdditionalData): string;
export declare function additionalDataFromJSON(jsonString: string): SafeParseResult<AdditionalData, SDKValidationError>;
//# sourceMappingURL=additionaldata.d.ts.map