import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type CustomFields4 = {};
/**
 * The value associated with the custom field.
 */
export type CustomFieldsValue = CustomFields4 | string | number | boolean | Array<any>;
export type CustomFields = {
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The name of the custom field.
     */
    name?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * Provider's unique identifier for the value of the custom field.
     */
    remoteValueId?: string | null | undefined;
    /**
     * The value associated with the custom field.
     */
    value?: CustomFields4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The unique identifier for the value of the custom field.
     */
    valueId?: string | null | undefined;
};
/** @internal */
export declare const CustomFields4$inboundSchema: z.ZodType<CustomFields4, z.ZodTypeDef, unknown>;
/** @internal */
export type CustomFields4$Outbound = {};
/** @internal */
export declare const CustomFields4$outboundSchema: z.ZodType<CustomFields4$Outbound, z.ZodTypeDef, CustomFields4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CustomFields4$ {
    /** @deprecated use `CustomFields4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CustomFields4, z.ZodTypeDef, unknown>;
    /** @deprecated use `CustomFields4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CustomFields4$Outbound, z.ZodTypeDef, CustomFields4>;
    /** @deprecated use `CustomFields4$Outbound` instead. */
    type Outbound = CustomFields4$Outbound;
}
export declare function customFields4ToJSON(customFields4: CustomFields4): string;
export declare function customFields4FromJSON(jsonString: string): SafeParseResult<CustomFields4, SDKValidationError>;
/** @internal */
export declare const CustomFieldsValue$inboundSchema: z.ZodType<CustomFieldsValue, z.ZodTypeDef, unknown>;
/** @internal */
export type CustomFieldsValue$Outbound = CustomFields4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const CustomFieldsValue$outboundSchema: z.ZodType<CustomFieldsValue$Outbound, z.ZodTypeDef, CustomFieldsValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CustomFieldsValue$ {
    /** @deprecated use `CustomFieldsValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CustomFieldsValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `CustomFieldsValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CustomFieldsValue$Outbound, z.ZodTypeDef, CustomFieldsValue>;
    /** @deprecated use `CustomFieldsValue$Outbound` instead. */
    type Outbound = CustomFieldsValue$Outbound;
}
export declare function customFieldsValueToJSON(customFieldsValue: CustomFieldsValue): string;
export declare function customFieldsValueFromJSON(jsonString: string): SafeParseResult<CustomFieldsValue, SDKValidationError>;
/** @internal */
export declare const CustomFields$inboundSchema: z.ZodType<CustomFields, z.ZodTypeDef, unknown>;
/** @internal */
export type CustomFields$Outbound = {
    id?: string | null | undefined;
    name?: string | null | undefined;
    remote_id?: string | null | undefined;
    remote_value_id?: string | null | undefined;
    value?: CustomFields4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value_id?: string | null | undefined;
};
/** @internal */
export declare const CustomFields$outboundSchema: z.ZodType<CustomFields$Outbound, z.ZodTypeDef, CustomFields>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CustomFields$ {
    /** @deprecated use `CustomFields$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CustomFields, z.ZodTypeDef, unknown>;
    /** @deprecated use `CustomFields$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CustomFields$Outbound, z.ZodTypeDef, CustomFields>;
    /** @deprecated use `CustomFields$Outbound` instead. */
    type Outbound = CustomFields$Outbound;
}
export declare function customFieldsToJSON(customFields: CustomFields): string;
export declare function customFieldsFromJSON(jsonString: string): SafeParseResult<CustomFields, SDKValidationError>;
//# sourceMappingURL=customfields.d.ts.map