import { WatermarkContent, WatermarkFont } from "./index.js"; import { CSSProperties } from "vue"; //#region src/watermark/utils.d.ts /** converting camel-cased strings to be lowercase and link it with Separator */ declare function toLowercaseSeparator(key: string): string; declare function getStyleStr(style: CSSProperties): string; /** Returns the ratio of the device's physical pixel resolution to the css pixel resolution */ declare function getPixelRatio(): number; interface WatermarkContentLine { text: string; font: Required; } declare function getFontSize(font: Required, ratio?: number): number; declare function getCanvasFont(font: Required, ratio?: number, lineHeight?: number): string; declare function getContentLines(content: WatermarkContent | WatermarkContent[] | undefined, font: Required): WatermarkContentLine[]; /** Whether to re-render the watermark */ declare function reRendering(mutation: MutationRecord, isWatermarkEle: (ele: Node, index?: number) => boolean): boolean; //#endregion export { WatermarkContentLine, getCanvasFont, getContentLines, getFontSize, getPixelRatio, getStyleStr, reRendering, toLowercaseSeparator };