/** * ClaudeBase v1 Validation Layer * Enforces all v1 contracts with hard failures */ /** * Validate path for Windows compatibility * Rejects reserved names, ADS, invalid characters, and excessive length */ export declare function validateWindowsPath(path: string): void; /** * Detect case-insensitive collision in file list * Returns conflicting paths if found */ export declare function detectCaseCollisions(paths: string[]): string[] | null; /** * Validate catalog schema version * Hard fails on unsupported versions */ export declare function validateSchemaVersion(version: unknown): asserts version is number; /** * Validate cache schema compatibility */ export declare function validateCacheCompatibility(cacheVersion: unknown): void; /** * Get user-only permissions mask * Returns 0o600 for files, 0o700 for directories */ export declare function getUserOnlyPermissions(isDirectory: boolean): number; /** * Check if a tar entry type indicates a symlink * Type '2' (50 in ASCII) is symlink in tar format */ export declare function isSymlinkType(typeFlag: number): boolean; /** * Check if a tar entry type indicates a link (hard or soft) * Types '1' (49) and '2' (50) are links */ export declare function isLinkType(typeFlag: number): boolean; //# sourceMappingURL=validation.d.ts.map