/** * debounce limits time a function can be executed * @param func function to debounce * @param wait wait for x time */ export declare function debounce(func: (args?: A) => R, wait: number): [(args?: A) => Promise, () => void];