/// import { WatermarkConfig, DrawPatternResult } from './types'; /** * 获取 MutationObserver 对象 */ export declare function getMutationObserver(): typeof MutationObserver; /** * 将样式对象转换为字符串 * @param style */ export declare const getStyleStr: (style: object) => string; /** * 获取任意的ID * @param prefix * @returns */ export declare const getRandomId: (prefix?: string) => string; /** * 获取水印挂载节点 * @param container * @param watermarkId * @returns */ export declare const getContainer: (container: WatermarkConfig['container'], watermarkId: string) => HTMLElement; export declare const getContent: () => HTMLDivElement; export declare function getDrawPattern(config: WatermarkConfig): Promise;