export declare const DEFAULT_TSGOLINT_VERSION = "c031d7264983dba00bae76eb03532fe3884e5667"; /** Validate version string to prevent path traversal attacks. * Only allows alphanumeric chars, dots, underscores, and hyphens. */ export declare function validateVersion(version: string): void; export declare function getCacheDir(): string; export declare function getTsgolintSourceDir(version: string): string; export declare function getBinDir(): string; export declare function getBinaryPath(contentHash: string): string; /** Per-hash build directory to avoid races between concurrent lintcn processes. */ export declare function getBuildDir(contentHash: string): string; /** Per-hash lock directory used while generating and compiling a build workspace. */ export declare function getBuildLockDir(contentHash: string): string; /** Per-version lock directory used while populating cached tsgolint source. */ export declare function getTsgolintSourceLockDir(version: string): string; export declare function acquireCacheLock(lockDir: string, description: string): Promise; export declare function ensureTsgolintSource(version: string): Promise; export declare function cachedBinaryExists(contentHash: string): boolean; //# sourceMappingURL=cache.d.ts.map