import { Func, SupplierPromise } from "./types"; /** * Creates a function that executes a `supplier` after waiting the `duration` in milliseconds and returns a * {@link Promise} of the result. * * @param {number} duration - Duration of time in milliseconds to wait before execution. * @returns {Func, Promise>} A function that takes a supplier and returns a promise of the result * after waiting the `duration`. */ export declare function defer(duration: number): Func, Promise>;