/** * File Handler Interface * Defines how different platforms handle file operations */ export interface FileHandler { /** * Read test file content * @param filePath Path to the test file * @returns File content as string */ readTestFile(filePath: string): Promise; /** * Resolve a relative path to an absolute path based on the current working directory * @param relativePath Relative path to resolve * @returns Absolute path */ resolvePath(relativePath: string): string; /** * Check if a file exists * @param filePath Path to check * @returns True if file exists */ fileExists(filePath: string): Promise; } /** * Local File Handler - Direct file system operations * Used by VS Code extension for local development */ export declare class LocalFileHandler implements FileHandler { private fs; private path; private basePath; constructor(basePath?: string); readTestFile(filePath: string): Promise; resolvePath(relativePath: string): string; fileExists(filePath: string): Promise; } /** * CI/CD File Handler - For CI/CD environments * Used by GitHub Actions for CI/CD environments */ export declare class CIFileHandler implements FileHandler { private fs; private path; private basePath; constructor(basePath?: string); readTestFile(filePath: string): Promise; resolvePath(relativePath: string): string; fileExists(filePath: string): Promise; } /** * No-op File Handler - For testing or when file operations are not needed */ export declare class NoOpFileHandler implements FileHandler { readTestFile(filePath: string): Promise; resolvePath(relativePath: string): string; fileExists(filePath: string): Promise; } //# sourceMappingURL=file-handler.d.ts.map