import { Tree } from '@nrwl/devkit'; export interface ClassMethodDecoratorReplaceOptions { code: string; classId: string; methodId: string; decoratorId: string; } export interface ApiClassMethodDecoratorReplaceOptions { classId?: string; methodId?: string; decoratorId?: string; code: string; } export interface ClassMethodDecoratorReplaceTreeOptions extends ClassMethodDecoratorReplaceOptions { projectRoot: string; relTargetFilePath: string; } export declare function replaceClassMethodDecoratorInSource(source: string, opts: ClassMethodDecoratorReplaceOptions): string | undefined; export declare function replaceClassMethodDecoratorInFile(filePath: string, opts: ClassMethodDecoratorReplaceOptions): string | undefined; export declare function replaceClassMethodDecoratorInTree(tree: Tree, opts: ClassMethodDecoratorReplaceTreeOptions): Promise;