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 CreateTableRecordsApiResponseSchema: 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 CreateTableRecordsApiResponse = z.infer<typeof CreateTableRecordsApiResponseSchema>;
export declare const NewRecordSchema: z.ZodObject<{
    data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
}, z.core.$strip>;
export type NewRecord = z.infer<typeof NewRecordSchema>;
export declare const CreateTableRecordsOptionsSchema: z.ZodObject<{
    table: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    records: z.ZodArray<z.ZodObject<{
        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 CreateTableRecordsOptionsSchemaDeprecated: z.ZodObject<{
    tableId: z.ZodString;
    records: z.ZodArray<z.ZodObject<{
        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 CreateTableRecordsOptionsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
    table: z.ZodString & {
        _def: z.core.$ZodStringDef & import("../../..").PositionalMetadata;
    };
    records: z.ZodArray<z.ZodObject<{
        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<{
        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 CreateTableRecordsOptions = (z.infer<typeof CreateTableRecordsOptionsSchema> & FunctionOptions) | (Omit<z.infer<typeof CreateTableRecordsOptionsSchemaDeprecated>, "tableId"> & FunctionOptions & {
    /** @deprecated Use `table` instead. */
    tableId: z.infer<typeof CreateTableRecordsOptionsSchemaDeprecated>["tableId"];
});
export interface CreateTableRecordsResult {
    data: RecordItem[];
}
export interface CreateTableRecordsSdkFunction {
    createTableRecords: (options: CreateTableRecordsOptions) => Promise<CreateTableRecordsResult>;
}
//# sourceMappingURL=schemas.d.ts.map