import { Tree } from '@nrwl/devkit'; export interface ClassDecoratorReplaceOptions { code: string; classId: string; decoratorId: string; } export interface ApiClassDecoratorReplaceOptions { classId?: string; decoratorId?: string; code: string; } export interface ClassDecoratorReplaceTreeOptions extends ClassDecoratorReplaceOptions { projectRoot: string; relTargetFilePath: string; } export declare function replaceClassDecoratorInSource(sourceCode: string, opts: ClassDecoratorReplaceOptions): string | undefined; export declare function replaceClassDecoratorInFile(targetFilePath: string, opts: ClassDecoratorReplaceOptions): string | undefined; export declare function replaceClassDecoratorInTree(tree: Tree, opts: ClassDecoratorReplaceTreeOptions): Promise;