import { Tree } from '@nrwl/devkit'; import { InsertPosition } from '../modify'; export interface ClassPropertyInsertOptions { classId: string; propertyId: string; insertPos?: InsertPosition; indexAdj?: number; code: string; } export interface ApiClassPropertyInsertOptions { classId?: string; propertyId?: string; insertPos?: InsertPosition; indexAdj?: number; code: string; } export interface ClassPropertyInsertTreeOptions extends ClassPropertyInsertOptions { projectRoot: string; relTargetFilePath: string; } export declare function insertClassPropertyInSource(source: string, opts: ClassPropertyInsertOptions): string | undefined; export declare function insertClassPropertyInFile(filePath: string, opts: ClassPropertyInsertOptions): string | undefined; export declare function insertClassPropertyertyInTree(tree: Tree, opts: ClassPropertyInsertTreeOptions): Promise;