/** * Result of comparing two .env files. */ export type DiffResult = { /** Keys present in the example file but missing from the current file */ missing: string[]; /** Keys present in the current file but not defined in the example file */ extra: string[]; /** Keys that exist in both files but have mismatched values */ valueMismatches: { /** The environment variable key */ key: string; /** Expected value from the example file */ expected: string; /** Actual value from the current file */ actual: string; }[]; }; /** * Compares two .env files and returns their differences. * * @param current - An object representing the current `.env` file (key-value pairs). * @param example - An object representing the `.env.example` file (key-value pairs). * @param checkValues - If true, compare values when the example has a non-empty value. * @returns A `DiffResult` object containing missing, extra, and mismatched keys. */ export declare function diffEnv(current: Record, example: Record, checkValues?: boolean): DiffResult; //# sourceMappingURL=diffEnv.d.ts.map