/// import { Platform } from 'puppeteer-core'; import { Readable } from 'stream'; export declare enum SUPPORT_FORMAT { XMIND = "xmind", SVG = "svg" } export declare enum META_KEY { CHROMIUM_EXECUTABLE_PATH = "CHROMIUM_EXECUTABLE_PATH", CHROMIUM_REVISION = "CHROMIUM_REVISION" } export declare type Meta = { [META_KEY.CHROMIUM_EXECUTABLE_PATH]?: string; [META_KEY.CHROMIUM_REVISION]?: string; }; export declare function getPuppeteerPlatform(): Platform; export declare function initMeta(): void; export declare function updateMetaFile(newMeta: Partial): void; export declare function getMetaInfo(key: META_KEY): string | undefined; export declare function hasContentPipedIn(): Promise; export declare function getFileNameFromContent(content: string): string; export declare function readStringFromStream(stream: Readable): Promise; export declare function unexpedtedError(msg?: string): void;