import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { AppendRecord, AppendRecord$Outbound } from "./appendrecord.js";
/**
 * Payload of an `append` request.
 */
export type AppendInput = {
    /**
     * Enforce a fencing token, which starts out as an empty string that can be overridden by a `fence` command record.
     */
    fencingToken?: string | null | undefined;
    matchSeqNum?: number | null | undefined;
    /**
     * Batch of records to append atomically, which must contain at least one record, and no more than 1000.
     *
     * @remarks
     * The total size of a batch of records may not exceed 1 MiB of metered bytes.
     */
    records: Array<AppendRecord>;
};
/** @internal */
export declare const AppendInput$inboundSchema: z.ZodType<AppendInput, z.ZodTypeDef, unknown>;
/** @internal */
export type AppendInput$Outbound = {
    fencing_token?: string | null | undefined;
    match_seq_num?: number | null | undefined;
    records: Array<AppendRecord$Outbound>;
};
/** @internal */
export declare const AppendInput$outboundSchema: z.ZodType<AppendInput$Outbound, z.ZodTypeDef, AppendInput>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AppendInput$ {
    /** @deprecated use `AppendInput$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AppendInput, z.ZodTypeDef, unknown>;
    /** @deprecated use `AppendInput$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AppendInput$Outbound, z.ZodTypeDef, AppendInput>;
    /** @deprecated use `AppendInput$Outbound` instead. */
    type Outbound = AppendInput$Outbound;
}
export declare function appendInputToJSON(appendInput: AppendInput): string;
export declare function appendInputFromJSON(jsonString: string): SafeParseResult<AppendInput, SDKValidationError>;
//# sourceMappingURL=appendinput.d.ts.map