import type { IConfigFileCollector } from '../../application/ports/outbound/IConfigFileCollector.js'; import { ConfigSnapshotFile } from '../../domain/value-objects/ConfigSnapshotFile.js'; /** * FileSystemConfigFileCollector * Implements IConfigFileCollector for collecting server configuration files. * Collects known config files and additional .yml/.json files from the server directory. * Computes SHA-256 hash for each file. Skips files larger than 1MB. */ export declare class FileSystemConfigFileCollector implements IConfigFileCollector { private readonly serversDir; constructor(serversDir: string); /** * Collect all trackable config files for a server * Returns metadata (path, hash, size) for each file found */ collectFiles(serverName: string): Promise; /** * Read the content of a specific config file */ readFileContent(serverName: string, filePath: string): Promise; /** * Write content to a specific config file in the server directory * Creates parent directories if they don't exist */ writeFileContent(serverName: string, filePath: string, content: string): Promise; /** * Process a single file: compute hash and size * Returns null if file is too large or cannot be read */ private processFile; /** * Get file extension (lowercase) */ private getExtension; } //# sourceMappingURL=FileSystemConfigFileCollector.d.ts.map