import type { Environment, Options } from './types';
export type PersistedOptions = Exclude<Partial<Options>, 'addOns' | 'chosenAddOns'> & {
    version: number;
    existingAddOns: Array<string>;
};
export declare function writeConfigFile(environment: Environment, targetDir: string, options: Options): Promise<void>;
export declare function readConfigFile(targetDir: string): Promise<PersistedOptions | null>;
