import { Rule } from "eslint"; import { TSESTree } from "@typescript-eslint/utils"; import { ExportSpecifier, ImportDeclaration, ImportSpecifier } from "estree-jsx"; interface InterfaceRenames { [currentName: string]: string | { newName: string; message?: string; }; } interface ComponentRenames { [currentName: string]: string; } export declare function renameInterface(interfaceRenames: InterfaceRenames, componentRenames?: ComponentRenames, packageName?: string): (context: Rule.RuleContext) => { ImportDeclaration?: undefined; ImportSpecifier?: undefined; ExportSpecifier?: undefined; TSTypeReference?: undefined; TSInterfaceHeritage?: undefined; } | { ImportDeclaration(node: ImportDeclaration): void; ImportSpecifier(node: ImportSpecifier): void; ExportSpecifier(node: ExportSpecifier): void; TSTypeReference(node: TSESTree.TSTypeReference): void; TSInterfaceHeritage(node: TSESTree.TSInterfaceHeritage): void; }; export {}; //# sourceMappingURL=renameInterface.d.ts.map