/** * Result of ensureFilesOrPrompt function */ interface EnsureFilesResult { /** Indicates if a file was created */ didCreate: boolean; /** Indicates if the process should exit */ shouldExit: boolean; /** Exit code to use if the process should exit */ exitCode: number; } /** * Arguments for ensureFilesOrPrompt function */ interface EnsureFilesArgs { /** Current working directory */ cwd: string; /** Path to the primary .env file */ primaryEnv: string; /** Path to the primary .env.example file */ primaryExample: string; /** Indicates if the user has already been warned about a missing .env file */ alreadyWarnedMissingEnv: boolean; /** Indicates if the --yes flag is set */ isYesMode: boolean; /** Indicates if the --ci flag is set */ isCiMode: boolean; } /** * Ensures that the necessary .env files exist or prompts the user to create them. * This function handles only scenarios where the --compare flag is set * @param args - The arguments for the function. * @returns An object indicating whether a file was created or if the process should exit. */ export declare function promptEnsureFiles(args: EnsureFilesArgs): Promise; export {}; //# sourceMappingURL=promptEnsureFiles.d.ts.map