/**
 * Schema version detection and compatibility validation for WARP messages.
 */
import type { PatchOp } from '../../types/ops/unions.ts';
/** Patch schema v2 — classic node-only patches. */
export declare const CLASSIC_PATCH_SCHEMA_VERSION = 2;
/** Patch schema v3 — edge-property-aware patches. */
export declare const EDGE_PROPERTY_PATCH_SCHEMA_VERSION = 3;
export declare const PATCH_SCHEMA_CLASSIC = 2;
export declare const PATCH_SCHEMA_EDGE_PROPERTIES = 3;
/** Detects the schema version required for a set of ops. */
export declare function detectSchemaVersion(ops: readonly PatchOp[] | null | undefined): number;
/** Asserts ops are compatible with a max supported schema version. */
export declare function assertOpsCompatible(ops: readonly PatchOp[] | null | undefined, maxSchema: number): void;
type MessageKind = 'patch' | 'checkpoint' | 'anchor' | 'audit';
/** Detects the WARP message kind from a raw commit message. */
export declare function detectMessageKind(message: string): MessageKind | null;
export {};
