import * as t from "@babel/types";
import type { NodePath } from "@babel/traverse";
import type { DeleteMeLibraryApi } from "@superblocksteam/library-shared/types";
export declare class RenameManager {
    constructor();
    renameComponent({ widgetNode, newName, ast, renameInAst, }: {
        widgetNode: NodePath<t.JSXOpeningElement>;
        newName: string;
        ast: t.File;
        renameInAst?: boolean;
    }): Promise<void>;
    renameEntityInApis({ oldName, newName, apis, parentBinding, }: {
        oldName: string;
        newName: string;
        parentBinding?: string;
        apis: {
            api: DeleteMeLibraryApi;
            filePath: string;
        }[];
    }): Promise<void>;
    renameIdentifierInAST({ oldName, newName, ast, parentBinding, }: {
        oldName: string;
        newName: string;
        ast: t.File;
        parentBinding?: string;
    }): void;
}
//# sourceMappingURL=rename-manager.d.ts.map