import * as z from "zod/v4-mini";
import { CustomFieldTextProperties, CustomFieldTextProperties$Outbound } from "./customfieldtextproperties.js";
export type CustomFieldCreateTextMetadata = string | number | number | boolean;
/**
 * Schema to create a custom field of type text.
 */
export type CustomFieldCreateText = {
    /**
     * Key-value object allowing you to store additional information.
     *
     * @remarks
     *
     * The key must be a string with a maximum length of **40 characters**.
     * The value must be either:
     *
     * * A string with a maximum length of **500 characters**
     * * An integer
     * * A floating-point number
     * * A boolean
     *
     * You can store up to **50 key-value pairs**.
     */
    metadata?: {
        [k: string]: string | number | number | boolean;
    } | undefined;
    type: "text";
    /**
     * Identifier of the custom field. It'll be used as key when storing the value. Must be unique across the organization.It can only contain ASCII letters, numbers and hyphens.
     */
    slug: string;
    /**
     * Name of the custom field.
     */
    name: string;
    /**
     * The ID of the organization owning the custom field. **Required unless you use an organization token.**
     */
    organizationId?: string | null | undefined;
    properties: CustomFieldTextProperties;
};
/** @internal */
export type CustomFieldCreateTextMetadata$Outbound = string | number | number | boolean;
/** @internal */
export declare const CustomFieldCreateTextMetadata$outboundSchema: z.ZodMiniType<CustomFieldCreateTextMetadata$Outbound, CustomFieldCreateTextMetadata>;
export declare function customFieldCreateTextMetadataToJSON(customFieldCreateTextMetadata: CustomFieldCreateTextMetadata): string;
/** @internal */
export type CustomFieldCreateText$Outbound = {
    metadata?: {
        [k: string]: string | number | number | boolean;
    } | undefined;
    type: "text";
    slug: string;
    name: string;
    organization_id?: string | null | undefined;
    properties: CustomFieldTextProperties$Outbound;
};
/** @internal */
export declare const CustomFieldCreateText$outboundSchema: z.ZodMiniType<CustomFieldCreateText$Outbound, CustomFieldCreateText>;
export declare function customFieldCreateTextToJSON(customFieldCreateText: CustomFieldCreateText): string;
//# sourceMappingURL=customfieldcreatetext.d.ts.map