import { Tree } from '@nrwl/devkit'; import { AnyOpts } from '../modify'; import { Node } from 'typescript'; export interface ClassDecoratorRemoveOptions { classId: string; decoratorId: string; } export interface ApiClassDecoratorRemoveOptions { classId?: string; decoratorId?: string; } export interface ClassDecoratorRemoveTreeOptions extends ClassDecoratorRemoveOptions { projectRoot: string; relTargetFilePath: string; } export declare const removeBeforeClassDecl: (opts: AnyOpts) => (node: Node) => string | undefined; export declare function removeClassDecoratorInSource(source: string, opts: ClassDecoratorRemoveOptions): string | undefined; export declare function removeClassDecoratorInFile(filePath: string, opts: ClassDecoratorRemoveOptions): string | undefined; export declare function removeClassDecoratorInTree(tree: Tree, opts: ClassDecoratorRemoveTreeOptions): Promise;