import { EventEmitter } from 'events'; import { CompilerConfig, CompilerOptions } from './config'; import { Logger } from '../utils/logger'; export declare abstract class BaseCompiler extends EventEmitter { protected config: CompilerConfig; protected logger: Logger; protected outputPath: string; constructor(config: CompilerConfig, options?: CompilerOptions); abstract compile(): Promise; abstract watch(): Promise; compileForSourcePair(inputPaths: string[], outputPath: string): Promise; protected ensureOutputDir(): Promise; protected writeFile(fileName: string, content: string): Promise; protected readFile(filePath: string): Promise; protected formatOutput(data: unknown): string; } //# sourceMappingURL=base-compiler.d.ts.map