import type { IGen } from "./api.js";
/**
 * Abstract base class for unit gens in this package. Provides
 * [`IDeref`](https://docs.thi.ng/umbrella/api/interfaces/IDeref.html) to obtain
 * the gen's current value and `Iterable` implementations to use gens as ES6
 * iterables.
 */
export declare abstract class AGen<T> implements IGen<T> {
    protected _val: T;
    constructor(_val: T);
    deref(): T;
    [Symbol.iterator](): Generator<T, void, unknown>;
    take(num: number, out?: T[], idx?: number): T[];
    abstract next(): T;
}
//# sourceMappingURL=agen.d.ts.map