import type { CommonOpts } from "./api.js";
export interface FromIntervalOpts extends CommonOpts {
    /**
     * If given, only the stated number of values will be emitted (in
     * the `[0...num)` interval) and the stream will become inactive (or
     * close) after.
     *
     * @defaultValue Infinity
     */
    num: number;
}
/**
 * Returns a {@link Stream} of monotonically increasing counter values,
 * emitted at given `delay` interval and up to the optionally defined
 * max value (default: ∞), after which the stream is closed.
 *
 * @remarks
 * The stream only starts when the first subscriber becomes available.
 *
 * @param delay -
 * @param opts -
 */
export declare const fromInterval: (delay: number, opts?: Partial<FromIntervalOpts>) => import("./stream.js").Stream<number>;
//# sourceMappingURL=interval.d.ts.map