1 | /// <reference types="cheerio" />
|
2 | import { Tree } from '@angular-devkit/schematics/src/tree/interface';
|
3 | import { Observable } from 'rxjs';
|
4 | import { TransformCallback } from './rx.tree';
|
5 | /**
|
6 | * Reads an HMTL from the tree and then transforms it using the given function. If the result
|
7 | * is null or undefined, the file will be deleted, else replaced or created.
|
8 | *
|
9 | * @param aName name of the file
|
10 | * @param aOp the operator
|
11 | * @param aTree the tree to work in
|
12 | */
|
13 | export declare function rxTransformHtmlFile(aName: string, aOp: TransformCallback<CheerioStatic>, aTree: Tree): Observable<string>;
|