import { Tree } from '@nrwl/devkit'; import { CollectionModifyOpts } from '../remove'; export interface ClassMethodParamDecoratorReplaceOptions { classId: string; methodId: string; paramId: string; replace?: CollectionModifyOpts; code: string; } export interface ApiClassMethodParamDecoratorReplaceOptions { classId?: string; methodId?: string; paramId?: string; replace?: CollectionModifyOpts; code: string; } export interface ClassMethodParamDecoratorReplaceTreeOptions extends ClassMethodParamDecoratorReplaceOptions { projectRoot: string; relTargetFilePath: string; } export declare function replaceClassMethodParamDecoratorsInSource(source: string, opts: ClassMethodParamDecoratorReplaceOptions): string | undefined; export declare function replaceClassMethodParamDecoratorsInFile(filePath: string, opts: ClassMethodParamDecoratorReplaceOptions): string | undefined; export declare function replaceClassMethodParamDecoratorsInTree(tree: Tree, opts: ClassMethodParamDecoratorReplaceTreeOptions): Promise;