import { Directive } from "vue"; //#region src/watermark.d.ts /** * 目标元素类型 */ type TargetElement = HTMLElement & {}; /** * 水印选项类型 */ type WatermarkOptions = { /** * 水印文本 */ text?: string; /** * 文本颜色 */ textColor?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 旋转角度 */ rotate?: number; }; /** * 绑定值类型 */ type BindingValue = string | WatermarkOptions; /** * 水印指令 * * 为元素添加水印效果 * * @example * ```vue * * ``` */ declare const watermark: Directive; //#endregion export { watermark };