@teambit/renaming
Version:
22 lines (21 loc) • 734 B
TypeScript
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;
constructor(renaming: RenamingMain);
report([oldName, newName]: [string, string], { refactor, deprecate, preserve }: {
refactor?: boolean;
deprecate?: boolean;
preserve?: boolean;
}): Promise<string>;
}
export declare function renameScopeOutput(renameResult: RenameResult): string;