declare function isEnvFile(filePath: string): boolean;
/**
 * Finds a file variant in the project.
 * TODO: abstract this to a more generic function.
 */
declare function findExistingEnvFile(targetDir: string): string | null;
/**
 * Parse .env content into key-value pairs.
 */
declare function parseEnvContent(content: string): Record<string, string>;
/**
 * Get the list of new keys that would be added when merging env content.
 */
declare function getNewEnvKeys(existingContent: string, newContent: string): string[];
/**
 * Merge env content by appending ONLY new keys that don't exist in the existing content.
 * Existing keys are preserved with their original values.
 */
declare function mergeEnvContent(existingContent: string, newContent: string): string;

export { findExistingEnvFile, getNewEnvKeys, isEnvFile, mergeEnvContent, parseEnvContent };
