function markExportedVariables(globalScope, variables) {
	Object.keys(variables).forEach(name => {
		const variable = globalScope.set.get(name);

		if (variable) {
			variable.eslintUsed = true;
			variable.eslintExported = true;
		}
	});
}
Sets the given variable names as exported so they won't be triggered by
the `no-unused-vars` rule.
@param {eslint.Scope} globalScope The global scope to define exports in.
@param {Record<string,string>} variables An object whose keys are the variable
     names to export.
@returns {void}