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";
export type TailResponse = {
    /**
     * Position of a record in a stream.
     */
    tail: StreamPosition;
};
/** @internal */
export declare const TailResponse$inboundSchema: z.ZodType<TailResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type TailResponse$Outbound = {
    tail: StreamPosition$Outbound;
};
/** @internal */
export declare const TailResponse$outboundSchema: z.ZodType<TailResponse$Outbound, z.ZodTypeDef, TailResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TailResponse$ {
    /** @deprecated use `TailResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TailResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `TailResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TailResponse$Outbound, z.ZodTypeDef, TailResponse>;
    /** @deprecated use `TailResponse$Outbound` instead. */
    type Outbound = TailResponse$Outbound;
}
export declare function tailResponseToJSON(tailResponse: TailResponse): string;
export declare function tailResponseFromJSON(jsonString: string): SafeParseResult<TailResponse, SDKValidationError>;
//# sourceMappingURL=tailresponse.d.ts.map