import { ICancelable } from './types';
export interface IDebounceOptions {
    immediate?: boolean;
}
export default function debounce<T extends (...args: any) => any>(func: T, wait?: number, options?: IDebounceOptions): T & ICancelable;
