import { IntermidiateOperation } from "./intermediate-operation";
import type { Maybe } from "@sweet-monads/maybe";
export declare class MapOperation extends IntermidiateOperation {
private readonly fn;
constructor(fn: (v: A, terminate: () => void) => B);
constructor(fn: (v: A, terminate: () => void) => Iterable, isFlat: true);
execute(value: A): Maybe;
}