import type { ExecutionDetails, StepOptimizeOptions, UnbatchedExecutionExtra, UnwrapPlanTuple } from "../interfaces.ts"; import type { Step } from "../step.ts"; import { UnbatchedStep } from "../step.ts"; import { ConstantStep } from "./constant.ts"; interface ListStepCacheConfig { identifier?: string; cacheSize?: number; } export declare class ListStep extends UnbatchedStep> { static $$export: { moduleName: string; exportName: string; }; isSyncAndSafe: boolean; allowMultipleOptimizations: boolean; optimizeMetaKey: string; private cacheSize; private valueCount; constructor(list: TPlanTuple, cacheConfig?: ListStepCacheConfig); toStringMeta(): string; execute({ indexMap, values }: ExecutionDetails): readonly UnwrapPlanTuple[]; unbatchedExecute(_extra: UnbatchedExecutionExtra, ...values: any[]): UnwrapPlanTuple; deduplicatedUnbatchedExecute({ meta: inMeta }: UnbatchedExecutionExtra, ...values: any[]): UnwrapPlanTuple; deduplicate(peers: ListStep[]): ListStep[]; optimize(opts: StepOptimizeOptions): this | ConstantStep; finalize(): void; /** * Get the original plan at the given index back again. */ at(index: TIndex): TPlanTuple[TIndex]; first(): TPlanTuple[0] | import("./__flag.ts").__FlagStep; last(): TPlanTuple[number] | import("./__flag.ts").__FlagStep; } /** * Takes a list of plans and turns it into a single plan that represents the * list of their values. */ export declare function list(list: TPlanTuple, cacheConfig?: ListStepCacheConfig): ListStep; export {}; //# sourceMappingURL=list.d.ts.map