/**
 * Compatibility Contracts — EventEnvelope Validator
 *
 * Performs runtime shape validation for the RuntimeEventEnvelope persistence schema.
 * Returns a structured ValidationResult rather than throwing.
 *
 * @module contracts/validators/event-envelope
 */
import type { ValidationResult } from '../types.js';
/**
 * Validates that `data` conforms to the expected RuntimeEventEnvelope persistence shape.
 *
 * Checks:
 * - `data` is a non-null object
 * - `type`, `traceId`, `sessionId`, `source` are non-empty strings
 * - `ts` is a finite number (Unix ms timestamp)
 * - `payload` is present and is a non-null object
 * - `version` (if present) has numeric `major`, `minor`, `patch` fields
 *
 * @param data - The raw persisted data to validate.
 * @returns A ValidationResult with structured errors if any field is invalid.
 */
export declare function validateEventEnvelope(data: unknown): ValidationResult;
//# sourceMappingURL=event-envelope.d.ts.map