import { FileAdapter } from './FileAdapter'; import { ConfigFile } from '../../../shared/types'; export declare abstract class AbstractFileAdapter implements FileAdapter { abstract canHandle(filePath: string): boolean; abstract read(filePath: string): Promise>; abstract getFormat(): string; abstract getSupportedExtensions(): string[]; /** * Read file content as string with error handling */ protected readFileContent(filePath: string): Promise; /** * Get file metadata */ protected getFileMetadata(filePath: string): Promise; /** * Create a ConfigFile object with metadata */ protected createConfigFile(filePath: string, content: Record): Promise; /** * Validate file exists */ protected validateFileExists(filePath: string): void; } //# sourceMappingURL=AbstractFileAdapter.d.ts.map