import type { FixResult } from '../config/types.js'; /** * Options for applying fixes to environment files */ interface ApplyFixesOptions { /** Path to the .env file to fix */ envPath: string; /** List of missing keys to add to the .env file */ missingKeys: string[]; /** List of duplicate keys to remove from the .env file (keep last occurrence) */ duplicateKeys: string[]; /** Whether to ensure .env is ignored in .gitignore (if in a git repo) */ ensureGitignore?: boolean; } /** * Applies fixes to the .env file based on the detected issues. * * This function will: * - Remove duplicate keys from .env (keeping the last occurrence) * - Add missing keys to .env file (with empty values) * - Ensure .env is ignored in .gitignore (if in a git repo and ensureGitignore is true) * * @param options - Fix options including file paths and keys to fix * @returns An object indicating whether changes were made and details of the changes */ export declare function applyFixes(options: ApplyFixesOptions): { changed: boolean; result: FixResult; }; export {}; //# sourceMappingURL=fixEnv.d.ts.map