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";
export declare enum Field2 {
    True = "true",
    False = "false"
}
/**
 * Indicates if the field is required
 */
export type RequiredT = boolean | Field2;
/**
 * The type of the field
 */
export declare enum FieldType {
    ShortText = "short_text",
    LongText = "long_text",
    MultiSelect = "multi_select",
    SingleSelect = "single_select",
    Boolean = "boolean",
    Number = "number",
    Date = "date",
    Phone = "phone",
    Email = "email",
    Score = "score",
    Location = "location",
    UnmappedValue = "unmapped_value"
}
/**
 * The type of the field
 */
export type FieldTypeOpen = OpenEnum<typeof FieldType>;
export type Field = {
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The label of the field
     */
    label?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * Indicates if the field is required
     */
    required?: boolean | Field2 | null | undefined;
    /**
     * The type of the field
     */
    type?: FieldTypeOpen | null | undefined;
    /**
     * The possible values for the field
     */
    values?: Array<string> | null | undefined;
};
/** @internal */
export declare const Field2$inboundSchema: z.ZodNativeEnum<typeof Field2>;
/** @internal */
export declare const RequiredT$inboundSchema: z.ZodType<RequiredT, z.ZodTypeDef, unknown>;
export declare function requiredFromJSON(jsonString: string): SafeParseResult<RequiredT, SDKValidationError>;
/** @internal */
export declare const FieldType$inboundSchema: z.ZodType<FieldTypeOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const Field$inboundSchema: z.ZodType<Field, z.ZodTypeDef, unknown>;
export declare function fieldFromJSON(jsonString: string): SafeParseResult<Field, SDKValidationError>;
//# sourceMappingURL=field.d.ts.map