import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Output from append response.
 */
export type AppendOutput = {
    /**
     * Sequence number of last record appended + 1.
     *
     * @remarks
     * `end_seq_num - start_seq_num` will be the number of records in the batch.
     */
    endSeqNum: number;
    /**
     * Sequence number of last durable record on the stream + 1.
     *
     * @remarks
     * This can be greater than `end_seq_num` in case of concurrent appends.
     */
    nextSeqNum: number;
    /**
     * Sequence number of first record appended.
     */
    startSeqNum: number;
};
/** @internal */
export declare const AppendOutput$inboundSchema: z.ZodType<AppendOutput, z.ZodTypeDef, unknown>;
/** @internal */
export type AppendOutput$Outbound = {
    end_seq_num: number;
    next_seq_num: number;
    start_seq_num: number;
};
/** @internal */
export declare const AppendOutput$outboundSchema: z.ZodType<AppendOutput$Outbound, z.ZodTypeDef, AppendOutput>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AppendOutput$ {
    /** @deprecated use `AppendOutput$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AppendOutput, z.ZodTypeDef, unknown>;
    /** @deprecated use `AppendOutput$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AppendOutput$Outbound, z.ZodTypeDef, AppendOutput>;
    /** @deprecated use `AppendOutput$Outbound` instead. */
    type Outbound = AppendOutput$Outbound;
}
export declare function appendOutputToJSON(appendOutput: AppendOutput): string;
export declare function appendOutputFromJSON(jsonString: string): SafeParseResult<AppendOutput, SDKValidationError>;
//# sourceMappingURL=appendoutput.d.ts.map