/**
 * Shared internals for WARP message codecs.
 *
 * Lazy TrailerCodec singleton, constants, and validation helpers
 * used by PatchMessageCodec, CheckpointMessageCodec,
 * AnchorMessageCodec, and MessageSchemaDetector.
 *
 * Not public API — import from WarpMessageCodec or individual codecs.
 */
import { type TrailerCodecFacade } from '@git-stunts/trailer-codec';
export declare const MESSAGE_TITLES: Record<string, string>;
export declare const TRAILER_KEYS: Record<string, string>;
/** Returns the lazy singleton TrailerCodec instance. */
export declare function getCodec(): TrailerCodecFacade;
/** Validates a Git OID (40 or 64 hex chars). */
export declare function validateOid(oid: string, fieldName: string): void;
/** Validates a SHA-256 hash (64 hex chars). */
export declare function validateSha256(hash: string, fieldName: string): void;
/** Validates a positive integer. */
export declare function validatePositiveInteger(value: number, fieldName: string): void;
/** Validates a schema version. */
export declare function validateSchema(schema: number): void;
