import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { CustomFieldOption } from "./customfieldoption.js";
export type CustomFieldDefinition4 = {};
export type CustomFieldDefinitionSourceValue = string | number | boolean | CustomFieldDefinition4 | Array<any>;
export declare enum CustomFieldDefinitionValue {
    Date = "date",
    Float = "float",
    Integer = "integer",
    List = "list",
    Checkbox = "checkbox",
    Text = "text",
    Boolean = "boolean",
    SingleSelect = "single_select",
    MultiSelect = "multi_select",
    Url = "url",
    Other = "other",
    UnmappedValue = "unmapped_value"
}
export type CustomFieldDefinitionValueOpen = OpenEnum<typeof CustomFieldDefinitionValue>;
/**
 * The type of the custom field.
 */
export type CustomFieldDefinitionType = {
    sourceValue?: string | number | boolean | CustomFieldDefinition4 | Array<any> | null | undefined;
    value?: CustomFieldDefinitionValueOpen | null | undefined;
};
export type CustomFieldDefinition = {
    description?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    name?: string | null | undefined;
    /**
     * An array of possible options for the custom field.
     */
    options?: Array<CustomFieldOption> | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * The type of the custom field.
     */
    type?: CustomFieldDefinitionType | null | undefined;
};
/** @internal */
export declare const CustomFieldDefinition4$inboundSchema: z.ZodType<CustomFieldDefinition4, z.ZodTypeDef, unknown>;
export declare function customFieldDefinition4FromJSON(jsonString: string): SafeParseResult<CustomFieldDefinition4, SDKValidationError>;
/** @internal */
export declare const CustomFieldDefinitionSourceValue$inboundSchema: z.ZodType<CustomFieldDefinitionSourceValue, z.ZodTypeDef, unknown>;
export declare function customFieldDefinitionSourceValueFromJSON(jsonString: string): SafeParseResult<CustomFieldDefinitionSourceValue, SDKValidationError>;
/** @internal */
export declare const CustomFieldDefinitionValue$inboundSchema: z.ZodType<CustomFieldDefinitionValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const CustomFieldDefinitionType$inboundSchema: z.ZodType<CustomFieldDefinitionType, z.ZodTypeDef, unknown>;
export declare function customFieldDefinitionTypeFromJSON(jsonString: string): SafeParseResult<CustomFieldDefinitionType, SDKValidationError>;
/** @internal */
export declare const CustomFieldDefinition$inboundSchema: z.ZodType<CustomFieldDefinition, z.ZodTypeDef, unknown>;
export declare function customFieldDefinitionFromJSON(jsonString: string): SafeParseResult<CustomFieldDefinition, SDKValidationError>;
//# sourceMappingURL=customfielddefinition.d.ts.map