import { z } from "zod";
import type { FunctionOptions } from "../../../types/functions";
import { RecordItemSchema, type RecordItem } from "../getTableRecord/schemas";
export { RecordItemSchema };
export type { RecordItem };
export declare const UpdateTableRecordsApiResponseSchema: z.ZodObject<{
    data: z.ZodArray<z.ZodObject<{
        change_id: z.ZodString;
        old: z.ZodNullable<z.ZodObject<{
            id: z.ZodString;
            data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
            created_at: z.ZodString;
            edited_at: z.ZodString;
            schema_revision_id: z.ZodNumber;
            errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
            orig_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
            is_source_record: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
        }, z.core.$strip>>;
        new: z.ZodObject<{
            id: z.ZodString;
            data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
            created_at: z.ZodString;
            edited_at: z.ZodString;
            schema_revision_id: z.ZodNumber;
            errors: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
            orig_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
            is_source_record: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
        }, z.core.$strip>;
        changed_field_ids: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
        record_id: z.ZodString;
    }, z.core.$strip>>;
}, z.core.$strip>;
export type UpdateTableRecordsApiResponse = z.infer<typeof UpdateTableRecordsApiResponseSchema>;
export declare const UpdateRecordSchema: z.ZodObject<{
    id: z.ZodString;
    data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
}, z.core.$strip>;
export type UpdateRecord = z.infer<typeof UpdateRecordSchema>;
export declare const UpdateTableRecordsOptionsSchema: z.ZodObject<{
    table: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    records: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    }, z.core.$strip>>;
    keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        names: "names";
        ids: "ids";
    }>>>;
}, z.core.$strip>;
declare const UpdateTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
    tableId: z.ZodString;
    records: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    }, z.core.$strip>>;
    keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        names: "names";
        ids: "ids";
    }>>>;
}, z.core.$strip>;
export declare const UpdateTableRecordsOptionsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
    table: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    records: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    }, z.core.$strip>>;
    keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        names: "names";
        ids: "ids";
    }>>>;
}, z.core.$strip>, z.ZodObject<{
    tableId: z.ZodString;
    records: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    }, z.core.$strip>>;
    keyMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
        names: "names";
        ids: "ids";
    }>>>;
}, z.core.$strip>]>;
export type UpdateTableRecordsOptions = (z.infer<typeof UpdateTableRecordsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof UpdateTableRecordsOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
    /** @deprecated Use `table` instead. */
    tableId: z.infer<typeof UpdateTableRecordsOptionsSchemaDeprecated>["tableId"];
});
export interface UpdateTableRecordsResult {
    data: RecordItem[];
}
export interface UpdateTableRecordsSdkFunction {
    updateTableRecords: (options: UpdateTableRecordsOptions) => Promise<UpdateTableRecordsResult>;
}
//# sourceMappingURL=schemas.d.ts.map