/**
 * Read the current .env file contents, update or add the specified
 * key-value pairs, and write the file back with mode 0o600.
 *
 * If a key already exists in the file, its line is replaced in-place.
 * If the key does not exist, a new line is appended before any
 * trailing blank lines.
 *
 * Keys listed in `keysToRemove` will have their lines deleted entirely
 * (used to remove the plaintext AUTH_PASSWORD after migration).
 */
export declare function updateEnvFile(updates: Record<string, string>, keysToRemove?: string[]): void;
//# sourceMappingURL=env-writer.d.ts.map