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