import type { ListCapableStep, Step } from "../step.ts"; import type { __ItemStep } from "./__item.ts"; import type { ItemsStep, StepRepresentingList } from "./connection.ts"; import type { __ListTransformStep, ListTransformItemPlanCallback } from "./listTransform.ts"; export type FilterPlanMemo = unknown[]; /** * Filters a list plan to only include entries for which the `filterCallback` * plan results in a truthy value. */ export declare function filter, TItemStep extends Step>(listStep: TListStep, filterCallback: ListTransformItemPlanCallback, TItemStep>): __ListTransformStep ? ReturnType : __ItemStep>; //# sourceMappingURL=filter.d.ts.map