import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { StreamPosition, StreamPosition$Outbound } from "./streamposition.js";
/**
 * Success response to an `append` request.
 */
export type AppendAck = {
    /**
     * Position of a record in a stream.
     */
    end: StreamPosition;
    /**
     * Position of a record in a stream.
     */
    start: StreamPosition;
    /**
     * Position of a record in a stream.
     */
    tail: StreamPosition;
};
/** @internal */
export declare const AppendAck$inboundSchema: z.ZodType<AppendAck, z.ZodTypeDef, unknown>;
/** @internal */
export type AppendAck$Outbound = {
    end: StreamPosition$Outbound;
    start: StreamPosition$Outbound;
    tail: StreamPosition$Outbound;
};
/** @internal */
export declare const AppendAck$outboundSchema: z.ZodType<AppendAck$Outbound, z.ZodTypeDef, AppendAck>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AppendAck$ {
    /** @deprecated use `AppendAck$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AppendAck, z.ZodTypeDef, unknown>;
    /** @deprecated use `AppendAck$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AppendAck$Outbound, z.ZodTypeDef, AppendAck>;
    /** @deprecated use `AppendAck$Outbound` instead. */
    type Outbound = AppendAck$Outbound;
}
export declare function appendAckToJSON(appendAck: AppendAck): string;
export declare function appendAckFromJSON(jsonString: string): SafeParseResult<AppendAck, SDKValidationError>;
//# sourceMappingURL=appendack.d.ts.map