import { Pipeline } from '../pipeline.js'; import type { TransformOptions, TransformTyped } from '../stream.model.js'; /** * Allows to "fork" away from the "main pipeline" into the "forked pipeline". * * Correctly keeps backpressure from both "downstreams" (main and forked). * * @experimental */ export declare function transformFork(fn: (pipeline: Pipeline) => Promise, opt?: TransformOptions): TransformTyped;