import { Fiber } from "@effect/core/io/Fiber/definition";
/**
 * Folds over the runtime or synthetic fiber.
 * @tsplus fluent ets/Fiber fold
 * @tsplus fluent ets/RuntimeFiber fold
 * @tsplus location "@effect/core/io/Fiber/operations/fold"
 */
export declare function fold_<E, A, Z>(self: Fiber<E, A>, onRuntime: (_: Fiber.Runtime<E, A>) => Z, onSynthetic: (_: Fiber.Synthetic<E, A>) => Z): Z;
/**
 * Folds over the runtime or synthetic fiber.
 * @tsplus static ets/Fiber/Aspects fold
 * @tsplus pipeable ets/Fiber fold
 * @tsplus location "@effect/core/io/Fiber/operations/fold"
 */
export declare const fold: <E, A, Z>(onRuntime: (_: import("@effect/core/io/Fiber/definition").Fiber.Runtime<E, A>) => Z, onSynthetic: (_: import("@effect/core/io/Fiber/definition").Fiber.Synthetic<E, A>) => Z) => (self: import("@effect/core/io/Fiber/definition").Fiber<E, A>) => Z;
//# sourceMappingURL=fold.d.ts.map