import type { Maybe } from "../index.ts";
import type { ListCapableStep, Step } from "../step.ts";
import type { ConnectionHandlingStep, ConnectionOptimizedStep, ItemsStep, StepRepresentingList } from "./connection.ts";
import { __ListTransformStep } from "./listTransform.ts";
/**
 * Transforms a list by wrapping each element in the list with the given mapper.
 */
export declare function each<TListStep extends StepRepresentingList<any> & Partial<ConnectionOptimizedStep<any, any, any, any> | ConnectionHandlingStep<any, any, any, any>>, TResultItemStep extends Step>(listStep: TListStep, mapper: (itemPlan: ItemsStep<TListStep> extends ListCapableStep<any, any> ? ReturnType<ItemsStep<TListStep>["listItem"]> : Step<TListStep extends Step<Maybe<ReadonlyArray<infer U>>> ? U : any>) => TResultItemStep): __ListTransformStep<any, any, any, any>;
export declare function isSkippableEach($step: Step): $step is __ListTransformStep;
//# sourceMappingURL=each.d.ts.map