import type { Environment, Options } from './types.js';
export type PersistedOptions = Omit<Partial<Options>, 'addOns' | 'chosenAddOns' | 'framework' | 'starter' | 'targetDir'> & {
    framework: string;
    version: number;
    chosenAddOns: Array<string>;
    starter?: string;
};
export declare function writeConfigFileToEnvironment(environment: Environment, options: Options): Promise<void>;
export declare function readConfigFileFromEnvironment(environment: Environment, targetDir: string): Promise<PersistedOptions | null>;
export declare function readConfigFile(targetDir: string): Promise<PersistedOptions | null>;
