/** * Validation Utilities * Shared validation logic for storage operations */ import { StorageLocation } from "../models/storageLocations"; /** * Validation utilities class */ export declare class ValidationUtils { /** * Validate storage key * @param key - The storage key to validate * @throws {StorageKeyError} If key is invalid */ static validateStorageKey(key: string): void; /** * Validate storage location * @param location - The storage location to validate * @throws {StorageLocationError} If location is invalid */ static validateStorageLocation(location: StorageLocation): void; /** * Validate array input * @param items - The items to validate * @param paramName - The parameter name for error messages * @throws {TypeError} If items is not an array */ static validateArray(items: T[], paramName?: string): void; /** * Check if key is a reserved storage location name * @param key - The key to check * @returns True if key is reserved */ static isReservedKey(key: string): boolean; /** * Sanitize storage key * @param key - The key to sanitize * @returns Sanitized key */ static sanitizeKey(key: string): string; } //# sourceMappingURL=ValidationUtils.d.ts.map