import { Directive } from "vue"; //#region src/debounce.d.ts /** * 绑定值类型 */ type BindingValue = (ev: MouseEvent | TouchEvent) => void; /** * 目标元素类型 */ type TargetElement = HTMLElement & { _debounce_delay: number; _debounce_callBack?: BindingValue; _debounce_controller?: AbortController; }; /** * 防抖指令 * * 为点击事件添加防抖功能 * * @example * ```vue * * * * ``` */ declare const debounce: Directive; //#endregion export { debounce };