import type { Startable } from '@libp2p/interface';
export interface DebouncedFunction extends Startable {
    (): void;
}
/**
 * Returns a function wrapper that will only call the passed function once
 *
 * Important - the passed function should not throw or reject
 */
export declare function debounce(func: () => void | Promise<void>, wait: number): DebouncedFunction;
//# sourceMappingURL=debounce.d.ts.map