import type { Rule } from 'eslint';
import type { TSESTree } from '@typescript-eslint/utils';
/**
 * Removes the given node and also removes a trailing comma if it exists.
 * @param ruleContext The ESLint rule context.
 * @param node The node to remove.
 * @param fixer The ESLint fixer.
 * @returns The fix object.
 */
export declare function removeNodeWithComma(ruleContext: Rule.RuleContext, node: TSESTree.Node, fixer: Rule.RuleFixer): Rule.Fix;
