UNPKG

@viewdo/dxp-story-cli

Version:

DXP Story Management CLI

25 lines (24 loc) 750 B
import { ConventionService } from "./ConventionService"; export declare class AssetConverter { conventions: ConventionService; private configuration; private assetFolderRegEx; cdn_full_path: string; cdn_enabled: boolean; assets_replace: string; isWindows: boolean; newline: RegExp; break: string; constructor(cdn_path: string); fromRemoteReplacements: { pattern: RegExp; replacement: (match: any, p1: any) => string; }[]; convertFromRemote(content?: string): string; fromLocalReplacements: { pattern: RegExp; replacement: (match: any, p1: any) => string; }[]; convertFromLocal(content?: string): string; convertForPreview(content: string): string; }