export declare function throttle(fn: Function, threshold: number): () => void;