import { type PoltergeistConfig } from './types.js'; export declare class ConfigurationError extends Error { constructor(message: string); } export declare class ConfigLoader { private configPath; private projectRoot; constructor(configPath: string); loadConfig(): PoltergeistConfig; private readConfigFile; private stripJSONComments; private checkForOldFormat; private validateConfig; private validateTargetNames; private resolveConfigPaths; getProjectRoot(): string; } interface OldConfig { cli?: { enabled?: boolean; buildCommand: string; outputPath: string; watchPaths: string[]; statusFile?: string; lockFile?: string; }; macApp?: { enabled?: boolean; buildCommand: string; bundleId: string; autoRelaunch?: boolean; watchPaths: string[]; statusFile?: string; lockFile?: string; }; notifications?: PoltergeistConfig['notifications']; logging?: PoltergeistConfig['logging']; settlingDelay?: number; } export declare function migrateOldConfig(oldConfig: OldConfig): PoltergeistConfig; export {}; //# sourceMappingURL=config.d.ts.map