import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Record that is durably sequenced on a stream.
 */
export type SequencedRecord = {
    /**
     * Body of the record.
     */
    body?: string | undefined;
    /**
     * Series of name-value pairs for this record.
     */
    headers?: Array<Array<string>> | undefined;
    seqNum: number;
    timestamp: number;
};
/** @internal */
export declare const SequencedRecord$inboundSchema: z.ZodType<SequencedRecord, z.ZodTypeDef, unknown>;
/** @internal */
export type SequencedRecord$Outbound = {
    body?: string | undefined;
    headers?: Array<Array<string>> | undefined;
    seq_num: number;
    timestamp: number;
};
/** @internal */
export declare const SequencedRecord$outboundSchema: z.ZodType<SequencedRecord$Outbound, z.ZodTypeDef, SequencedRecord>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SequencedRecord$ {
    /** @deprecated use `SequencedRecord$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SequencedRecord, z.ZodTypeDef, unknown>;
    /** @deprecated use `SequencedRecord$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SequencedRecord$Outbound, z.ZodTypeDef, SequencedRecord>;
    /** @deprecated use `SequencedRecord$Outbound` instead. */
    type Outbound = SequencedRecord$Outbound;
}
export declare function sequencedRecordToJSON(sequencedRecord: SequencedRecord): string;
export declare function sequencedRecordFromJSON(jsonString: string): SafeParseResult<SequencedRecord, SDKValidationError>;
//# sourceMappingURL=sequencedrecord.d.ts.map