import { CollectionInsert } from './positional'; import { AnyOpts } from '../modify'; import { Tree } from '@nrwl/devkit'; export interface ClassMethodParamsInsertOptions { classId: string; methodId: string; paramId: string; insert?: CollectionInsert; indexAdj?: number; code: string; } export interface ApiClassMethodParamsInsertOptions { classId?: string; methodId?: string; paramId?: string; insert?: CollectionInsert; indexAdj?: number; code: string; } export interface ClassMethodParamsInsertTreeOptions extends ClassMethodParamsInsertOptions { projectRoot: string; relTargetFilePath: string; } export declare const insertParametersInClassMethod: (opts: AnyOpts) => (srcNode: any) => string | undefined; export declare function insertClassMethodParameterInSource(filePath: string, opts: ClassMethodParamsInsertOptions): string | undefined; export declare function insertClassMethodParameterInFile(filePath: string, opts: ClassMethodParamsInsertOptions): string | undefined; export declare function insertClassMethodParameterInTree(tree: Tree, opts: ClassMethodParamsInsertTreeOptions): Promise;