import { Ref } from "vue"; import { MarkType } from '../utils'; /** * @description 遮罩的类型 */ type targetType = Ref | HTMLElement; /** * @description 使用遮罩 * @param target 需要添加遮罩的元素, 可以是ref实例,也可以是一个html节点 * @param markType cover将会覆盖整个视口,part只会覆盖元素本身 */ export declare const useMark: (target: targetType, markType?: MarkType) => { mark: HTMLElement; showMark: () => void; hiddenMark: () => void; }; export {};