import { Tree } from '@angular-devkit/schematics';
import { DefaultTreeElement } from 'parse5';
/** Remove content from specified file. */
export declare function removeContentFromFile(host: Tree, filePath: string): boolean;
/** Appends fragment to the specified file. */
export declare function appendToStartFile(host: Tree, filePath: string, fragment: string): void;
/** Appends the given element HTML fragment to the `<body>` element of the specified HTML file. */
export declare function appendHtmlElementToBody(host: Tree, htmlFilePath: string, elementHtml: string, side?: string): void;
/** Adds a class to the body of the document. */
export declare function addBodyClass(host: Tree, htmlFilePath: string, className: string): void;
/** Parses the given HTML file and returns the body element if available. */
export declare function getHtmlBodyTagElement(htmlContent: string): DefaultTreeElement | null;
/**
 * Appends a key: value on a specific environment file
 * @param host Tree
 * @param env The environment to be added (example: prod, staging...)
 * @param appPath application path (/src...)
 * @param key The key to be added
 * @param value The value to be added
 * @return void
*/
export declare function addEnvironmentVar(host: Tree, env: string, appPath: string, key: string, value: string): void;
/**
 * Add a id to a element on a html file
 * @param host Tree
 * @param htmlFilePath Html file path
 * @param idName Name of the id to be added
 * @param tagName Html tag name to append the id
 * @return void
*/
export declare function addIdToElement(host: Tree, htmlFilePath: string, idName: string, tagName: string): void;
