import { z } from "zod";
import type { FunctionOptions } from "../../../types/functions";
import { FieldTypeSchema, FieldItemSchema, type FieldItem } from "../listTableFields/schemas";
export { FieldTypeSchema, FieldItemSchema };
export type { FieldItem };
export declare const CreateTableFieldsApiResponseSchema: z.ZodObject<{
    data: z.ZodArray<z.ZodObject<{
        new: z.ZodObject<{
            id: z.ZodNumber;
            type: z.ZodEnum<{
                string: "string";
                number: "number";
                boolean: "boolean";
                text: "text";
                datetime: "datetime";
                decimal: "decimal";
                json: "json";
                email: "email";
                link: "link";
                multiple_string: "multiple_string";
                labeled_string: "labeled_string";
                multiple_labeled_string: "multiple_labeled_string";
                multiple_text: "multiple_text";
                multiple_boolean: "multiple_boolean";
                multiple_number: "multiple_number";
                multiple_decimal: "multiple_decimal";
                multiple_datetime: "multiple_datetime";
                uuid: "uuid";
                multiple_uuid: "multiple_uuid";
                multiple_json: "multiple_json";
                formula: "formula";
                button_trigger_zap: "button_trigger_zap";
                button_continue_zap: "button_continue_zap";
                multiple_email: "multiple_email";
                multiple_link: "multiple_link";
                currency: "currency";
                phone_number: "phone_number";
                ai_formula: "ai_formula";
                linked_record: "linked_record";
                multiple_linked_record: "multiple_linked_record";
            }>;
            name: z.ZodString;
            created_at: z.ZodOptional<z.ZodString>;
            edited_at: z.ZodOptional<z.ZodString>;
            options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            is_order_field: z.ZodOptional<z.ZodBoolean>;
            is_filter_field: z.ZodOptional<z.ZodBoolean>;
            is_selected_field: z.ZodOptional<z.ZodBoolean>;
        }, z.core.$strip>;
        old: z.ZodNullable<z.ZodObject<{
            id: z.ZodNumber;
            type: z.ZodEnum<{
                string: "string";
                number: "number";
                boolean: "boolean";
                text: "text";
                datetime: "datetime";
                decimal: "decimal";
                json: "json";
                email: "email";
                link: "link";
                multiple_string: "multiple_string";
                labeled_string: "labeled_string";
                multiple_labeled_string: "multiple_labeled_string";
                multiple_text: "multiple_text";
                multiple_boolean: "multiple_boolean";
                multiple_number: "multiple_number";
                multiple_decimal: "multiple_decimal";
                multiple_datetime: "multiple_datetime";
                uuid: "uuid";
                multiple_uuid: "multiple_uuid";
                multiple_json: "multiple_json";
                formula: "formula";
                button_trigger_zap: "button_trigger_zap";
                button_continue_zap: "button_continue_zap";
                multiple_email: "multiple_email";
                multiple_link: "multiple_link";
                currency: "currency";
                phone_number: "phone_number";
                ai_formula: "ai_formula";
                linked_record: "linked_record";
                multiple_linked_record: "multiple_linked_record";
            }>;
            name: z.ZodString;
            created_at: z.ZodOptional<z.ZodString>;
            edited_at: z.ZodOptional<z.ZodString>;
            options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            is_order_field: z.ZodOptional<z.ZodBoolean>;
            is_filter_field: z.ZodOptional<z.ZodBoolean>;
            is_selected_field: z.ZodOptional<z.ZodBoolean>;
        }, z.core.$strip>>;
        kind: z.ZodEnum<{
            created: "created";
            updated: "updated";
            deleted: "deleted";
        }>;
    }, z.core.$strip>>;
    meta: z.ZodOptional<z.ZodObject<{
        did_change: z.ZodBoolean;
    }, z.core.$strip>>;
}, z.core.$strip>;
export type CreateTableFieldsApiResponse = z.infer<typeof CreateTableFieldsApiResponseSchema>;
export declare const NewFieldSchema: z.ZodObject<{
    type: z.ZodEnum<{
        string: "string";
        number: "number";
        boolean: "boolean";
        text: "text";
        datetime: "datetime";
        decimal: "decimal";
        json: "json";
        email: "email";
        link: "link";
        multiple_string: "multiple_string";
        labeled_string: "labeled_string";
        multiple_labeled_string: "multiple_labeled_string";
        multiple_text: "multiple_text";
        multiple_boolean: "multiple_boolean";
        multiple_number: "multiple_number";
        multiple_decimal: "multiple_decimal";
        multiple_datetime: "multiple_datetime";
        uuid: "uuid";
        multiple_uuid: "multiple_uuid";
        multiple_json: "multiple_json";
        formula: "formula";
        button_trigger_zap: "button_trigger_zap";
        button_continue_zap: "button_continue_zap";
        multiple_email: "multiple_email";
        multiple_link: "multiple_link";
        currency: "currency";
        phone_number: "phone_number";
        ai_formula: "ai_formula";
        linked_record: "linked_record";
        multiple_linked_record: "multiple_linked_record";
    }>;
    name: z.ZodString;
    options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, z.core.$strip>;
export type NewField = z.infer<typeof NewFieldSchema>;
export declare const CreateTableFieldsOptionsSchema: z.ZodObject<{
    table: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    fields: z.ZodArray<z.ZodObject<{
        type: z.ZodEnum<{
            string: "string";
            number: "number";
            boolean: "boolean";
            text: "text";
            datetime: "datetime";
            decimal: "decimal";
            json: "json";
            email: "email";
            link: "link";
            multiple_string: "multiple_string";
            labeled_string: "labeled_string";
            multiple_labeled_string: "multiple_labeled_string";
            multiple_text: "multiple_text";
            multiple_boolean: "multiple_boolean";
            multiple_number: "multiple_number";
            multiple_decimal: "multiple_decimal";
            multiple_datetime: "multiple_datetime";
            uuid: "uuid";
            multiple_uuid: "multiple_uuid";
            multiple_json: "multiple_json";
            formula: "formula";
            button_trigger_zap: "button_trigger_zap";
            button_continue_zap: "button_continue_zap";
            multiple_email: "multiple_email";
            multiple_link: "multiple_link";
            currency: "currency";
            phone_number: "phone_number";
            ai_formula: "ai_formula";
            linked_record: "linked_record";
            multiple_linked_record: "multiple_linked_record";
        }>;
        name: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>;
}, z.core.$strip>;
declare const CreateTableFieldsOptionsSchemaDeprecated: z.ZodObject<{
    tableId: z.ZodString;
    fields: z.ZodArray<z.ZodObject<{
        type: z.ZodEnum<{
            string: "string";
            number: "number";
            boolean: "boolean";
            text: "text";
            datetime: "datetime";
            decimal: "decimal";
            json: "json";
            email: "email";
            link: "link";
            multiple_string: "multiple_string";
            labeled_string: "labeled_string";
            multiple_labeled_string: "multiple_labeled_string";
            multiple_text: "multiple_text";
            multiple_boolean: "multiple_boolean";
            multiple_number: "multiple_number";
            multiple_decimal: "multiple_decimal";
            multiple_datetime: "multiple_datetime";
            uuid: "uuid";
            multiple_uuid: "multiple_uuid";
            multiple_json: "multiple_json";
            formula: "formula";
            button_trigger_zap: "button_trigger_zap";
            button_continue_zap: "button_continue_zap";
            multiple_email: "multiple_email";
            multiple_link: "multiple_link";
            currency: "currency";
            phone_number: "phone_number";
            ai_formula: "ai_formula";
            linked_record: "linked_record";
            multiple_linked_record: "multiple_linked_record";
        }>;
        name: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>;
}, z.core.$strip>;
export declare const CreateTableFieldsOptionsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
    table: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    fields: z.ZodArray<z.ZodObject<{
        type: z.ZodEnum<{
            string: "string";
            number: "number";
            boolean: "boolean";
            text: "text";
            datetime: "datetime";
            decimal: "decimal";
            json: "json";
            email: "email";
            link: "link";
            multiple_string: "multiple_string";
            labeled_string: "labeled_string";
            multiple_labeled_string: "multiple_labeled_string";
            multiple_text: "multiple_text";
            multiple_boolean: "multiple_boolean";
            multiple_number: "multiple_number";
            multiple_decimal: "multiple_decimal";
            multiple_datetime: "multiple_datetime";
            uuid: "uuid";
            multiple_uuid: "multiple_uuid";
            multiple_json: "multiple_json";
            formula: "formula";
            button_trigger_zap: "button_trigger_zap";
            button_continue_zap: "button_continue_zap";
            multiple_email: "multiple_email";
            multiple_link: "multiple_link";
            currency: "currency";
            phone_number: "phone_number";
            ai_formula: "ai_formula";
            linked_record: "linked_record";
            multiple_linked_record: "multiple_linked_record";
        }>;
        name: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    tableId: z.ZodString;
    fields: z.ZodArray<z.ZodObject<{
        type: z.ZodEnum<{
            string: "string";
            number: "number";
            boolean: "boolean";
            text: "text";
            datetime: "datetime";
            decimal: "decimal";
            json: "json";
            email: "email";
            link: "link";
            multiple_string: "multiple_string";
            labeled_string: "labeled_string";
            multiple_labeled_string: "multiple_labeled_string";
            multiple_text: "multiple_text";
            multiple_boolean: "multiple_boolean";
            multiple_number: "multiple_number";
            multiple_decimal: "multiple_decimal";
            multiple_datetime: "multiple_datetime";
            uuid: "uuid";
            multiple_uuid: "multiple_uuid";
            multiple_json: "multiple_json";
            formula: "formula";
            button_trigger_zap: "button_trigger_zap";
            button_continue_zap: "button_continue_zap";
            multiple_email: "multiple_email";
            multiple_link: "multiple_link";
            currency: "currency";
            phone_number: "phone_number";
            ai_formula: "ai_formula";
            linked_record: "linked_record";
            multiple_linked_record: "multiple_linked_record";
        }>;
        name: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, z.core.$strip>>;
}, z.core.$strip>]>;
export type CreateTableFieldsOptions = (z.infer<typeof CreateTableFieldsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof CreateTableFieldsOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
    /** @deprecated Use `table` instead. */
    tableId: z.infer<typeof CreateTableFieldsOptionsSchemaDeprecated>["tableId"];
});
export interface CreateTableFieldsResult {
    data: FieldItem[];
}
export interface CreateTableFieldsSdkFunction {
    createTableFields: (options: CreateTableFieldsOptions) => Promise<CreateTableFieldsResult>;
}
//# sourceMappingURL=schemas.d.ts.map