/**
 * Shared trailer validation helpers for WARP message codecs.
 *
 * Extracted from AnchorMessageCodec, AuditMessageCodec,
 * CheckpointMessageCodec, and PatchMessageCodec.
 */
/** Asserts a required trailer field is present and returns its value. */
export declare function requireTrailer(trailers: Record<string, string>, key: string, kind: string): string;
/** Parses a trailer value as a positive integer. */
export declare function parsePositiveIntTrailer(trailers: Record<string, string>, key: string, kind: string): number;
/** Validates the eg-kind discriminator trailer matches the expected kind. */
export declare function validateKindDiscriminator(trailers: Record<string, string>, expected: string): void;
