import SiteDiskContentCache from "../SiteDiskContentCache.js"; import { LocalFile } from "@entity-access/server-pages/dist/core/LocalFile.js"; import DBConfig from "../../DBConfig.js"; import EncryptionService from "../../encryption/EncryptionService.js"; import { ISiteFolder } from "../ISiteFolder.js"; import SessionSecurity from "@entity-access/server-pages/dist/services/SessionSecurity.js"; export default class WebContentTranspileService { siteCache: SiteDiskContentCache; dbConfig: DBConfig; ecs: EncryptionService; ss: SessionSecurity; packages: { latest: string; version: string; }[]; transformCss(siteFolder: ISiteFolder, srcFile: LocalFile, currentPath: string): Promise; transformHtml(siteFolder: ISiteFolder, srcFile: LocalFile, currentPath: string, addPreview?: boolean): Promise; mergeElement(e: HTMLElement, tagName: string, keys: Record, attributes: Record): void; transformVideoLink(node: HTMLElement, attributeName: string): void; transformImageLink(node: HTMLElement, attributeName: string): void; rewriteLink(node: Element, attributeName: string, siteFolder: ISiteFolder, currentPath: string, transform?: any, ext?: any): Promise; replacePackages(value: string): string; injectFragment(siteFolder: ISiteFolder, node: HTMLElement, doc: Document, currentPath: string): Promise; private rewriteCss; private toAbsoluteUrl; } //# sourceMappingURL=WebContentTranspileService.d.ts.map