export declare function throttle(fn: (args?: T) => void, interval: number): (args: T) => void; /** 示例 * let test = throttle((text: string) => { console.log(text); }, 500); test('A'); test('B'); */