UNPKG

@teambit/renaming

Version:
24 lines (23 loc) 830 B
import type { Command, CommandOptions } from '@teambit/cli'; import type { RenameResult, RenamingMain } from './renaming.main.runtime'; export declare class ScopeRenameCmd implements Command { private renaming; name: string; description: string; extendedDescription: string; arguments: { name: string; description: string; }[]; options: CommandOptions; group: string; loader: boolean; constructor(renaming: RenamingMain); report([oldName, newName]: [string, string], { refactor, deprecate, preserve, skipDependencyInstallation, }: { refactor?: boolean; deprecate?: boolean; preserve?: boolean; skipDependencyInstallation?: boolean; }): Promise<string>; } export declare function renameScopeOutput(renameResult: RenameResult): string;