/**
 * Compatibility Contracts — Session Validator
 *
 * Performs runtime shape validation for the session persistence format
 * (messages array + meta object). Returns a structured ValidationResult.
 *
 * @module contracts/validators/session
 */
import type { ValidationResult } from '../types.js';
/**
 * Validates that `data` conforms to the expected session persistence shape.
 *
 * Checks:
 * - `data` is a non-null object
 * - `sessionId` is a non-empty string
 * - `messages` is an array (contents are not deeply validated)
 * - `meta` is a non-null, non-array object
 * - `meta.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 validateSession(data: unknown): ValidationResult;
//# sourceMappingURL=session.d.ts.map