import type { Environment } from './types.js';
import type { PersistedOptions } from './config-file.js';
export declare function hasPendingGitChanges(environment: Environment, cwd: string): Promise<boolean>;
export declare function getCurrentConfiguration(environment: Environment, cwd: string): Promise<PersistedOptions | undefined>;
export declare function writeFiles(environment: Environment, cwd: string, output: {
    files: Record<string, string>;
    deletedFiles: Array<string>;
}, forced: boolean): Promise<void>;
export declare function runNewCommands(environment: Environment, originalOptions: PersistedOptions, cwd: string, output: {
    commands: Array<{
        command: string;
        args: Array<string>;
    }>;
}): Promise<void>;
export declare function addToApp(environment: Environment, addOns: Array<string>, cwd: string, options?: {
    forced?: boolean;
    intent?: boolean;
}): Promise<void>;
