import { CollectionReplace } from './positional'; import { Tree } from '@nrwl/devkit'; export interface ClassMethodParamReplaceOptions { code: string; classId: string; methodId: string; replace?: CollectionReplace; } export interface ApiClassMethodParamReplaceOptions { classId?: string; methodId?: string; replace?: CollectionReplace; code: string; } export interface ClassMethodParamReplaceTreeOptions extends ClassMethodParamReplaceOptions { projectRoot: string; relTargetFilePath: string; } export declare function replaceClassMethodParamsInSource(source: string, opts: ClassMethodParamReplaceOptions): string | undefined; export declare function replaceClassMethodParamsInFile(filePath: string, opts: ClassMethodParamReplaceOptions): string | undefined; export declare function replaceClassMethodParamsInTree(tree: Tree, opts: ClassMethodParamReplaceTreeOptions): Promise;