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