/**
 * @deprecated
 * @hidden
 */
export interface Cancelable {
    cancel(): void;
    flush(): void;
}
/**
 * @deprecated
 * @hidden
 */
export type DebouncedFunc<T> = T & Cancelable;
/**
 * @deprecated
 * @hidden
 */
interface DebounceSettings {
    leading?: boolean;
    maxWait?: number;
    trailing?: boolean;
}
/**
 * This is copy a function of lodash. See docs lodash.debounce. Please do not use this outside Design Atoms.
 * @deprecated
 * @hidden
 */
export declare function debounce<T extends (...args: any) => any>(func: T, wait: number, options?: DebounceSettings): T & Cancelable;
export {};
