/**
 * Removes consecutive whitespaces and newlines
 */
export declare function removeSpaces(html: string): string;
/**
 * Wraps replacement strings with %%
 * This helps to prevent conflicts between code samples and our replacement strings
 * Example: {foo} -> %%{foo}%%
 */
export declare function wrapReplacementStrings(html: string): string;
/**
 * Removes any <code> wrappers around replacement strings {foo}
 * Example input:  <code><span>{foo}</span></code>
 * Example output:       <span>{foo}</span>
 */
export declare function removeCodeWrappersFromHelpers(html: string, document: Document): string;
//# sourceMappingURL=replacement-strings.d.ts.map