/**
 * Shared input validation for persistence adapters.
 *
 * These functions are extracted from GitGraphAdapter so that both Git-backed
 * and in-memory adapters apply identical validation rules. This prevents
 * divergence and ensures conformance tests exercise the same constraints.
 *
 * @module infrastructure/adapters/adapterValidation
 */
/**
 * Validates that an OID is a safe hex string (4–64 characters).
 * @throws {AdapterValidationError} If OID is invalid
 */
export declare function validateOid(oid: string): void;
/**
 * Validates that a ref is safe to use in git commands.
 * Prevents command injection via malicious ref names.
 * @throws {AdapterValidationError} If ref contains invalid characters, is too long, or starts with -/--
 */
export declare function validateRef(ref: string): void;
/**
 * Validates that a limit is a safe positive integer (max 10M).
 * @throws {AdapterValidationError} If limit is invalid
 */
export declare function validateLimit(limit: number): void;
/**
 * Validates that a config key is safe and well-formed.
 * @throws {AdapterValidationError} If key is invalid
 */
export declare function validateConfigKey(key: string): void;
