import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { CustomFieldDefinition, CustomFieldDefinition$Outbound } from "./customfielddefinition.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type CustomFieldDefinitionResultApiModel = {
    data: CustomFieldDefinition;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const CustomFieldDefinitionResultApiModel$inboundSchema: z.ZodType<CustomFieldDefinitionResultApiModel, z.ZodTypeDef, unknown>;
/** @internal */
export type CustomFieldDefinitionResultApiModel$Outbound = {
    data: CustomFieldDefinition$Outbound;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const CustomFieldDefinitionResultApiModel$outboundSchema: z.ZodType<CustomFieldDefinitionResultApiModel$Outbound, z.ZodTypeDef, CustomFieldDefinitionResultApiModel>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CustomFieldDefinitionResultApiModel$ {
    /** @deprecated use `CustomFieldDefinitionResultApiModel$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CustomFieldDefinitionResultApiModel, z.ZodTypeDef, unknown>;
    /** @deprecated use `CustomFieldDefinitionResultApiModel$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CustomFieldDefinitionResultApiModel$Outbound, z.ZodTypeDef, CustomFieldDefinitionResultApiModel>;
    /** @deprecated use `CustomFieldDefinitionResultApiModel$Outbound` instead. */
    type Outbound = CustomFieldDefinitionResultApiModel$Outbound;
}
export declare function customFieldDefinitionResultApiModelToJSON(customFieldDefinitionResultApiModel: CustomFieldDefinitionResultApiModel): string;
export declare function customFieldDefinitionResultApiModelFromJSON(jsonString: string): SafeParseResult<CustomFieldDefinitionResultApiModel, SDKValidationError>;
//# sourceMappingURL=customfielddefinitionresultapimodel.d.ts.map