/** * An entry in the "add" or "unchanged" category of a diff. */ export interface EnvVarEntry { key: string; value: string; } /** * An entry in the "update" category of a diff, showing both old and new values. */ export interface EnvVarUpdateEntry extends EnvVarEntry { oldValue: string; } /** * The result of comparing local env vars against remote MRT env vars. */ export interface EnvVarDiff { /** Variables present locally but not in MRT — will be added. */ add: EnvVarEntry[]; /** Variables present in both with differing values — will be updated. */ update: EnvVarUpdateEntry[]; /** Variables present in both with identical values — no action needed. */ unchanged: EnvVarEntry[]; /** Variables present in MRT but not locally — will NOT be deleted. */ remoteOnly: EnvVarEntry[]; } /** * Returns a new Map excluding entries whose keys start with any of the given prefixes. * * @param vars - Map of environment variable key-value pairs * @param excludePrefixes - Prefixes to exclude (e.g. ['MRT_', 'SFCC_']) */ export declare function filterByPrefix(vars: Map, excludePrefixes: string[]): Map; /** * Computes the diff between local env vars and remote MRT env vars. * * @param local - Local env vars (already filtered) * @param remote - Remote MRT env vars */ export declare function computeEnvVarDiff(local: Map, remote: Map): EnvVarDiff; /** * Formats a human-readable diff summary using ASCII markers. * * @param diff - The diff to format */ export declare function formatEnvVarDiffSummary(diff: EnvVarDiff): string;