import * as A from "@effect-ts/core/Collections/Immutable/Chunk"; import * as HM from "@effect-ts/core/Collections/Immutable/HashMap"; import { _R } from "@effect-ts/core/Effect"; import type { DataSource } from "../../DataSource/index.js"; import type { BlockedRequest } from "../BlockedRequest/index.js"; /** * A `Sequential[R]` maintains a mapping from data sources to batches of * requests from those data sources that must be executed sequentially. */ export declare class Sequential { readonly map: HM.HashMap, A.Chunk>>>; readonly [_R]: (r: R) => void; constructor(map: HM.HashMap, A.Chunk>>>); } /** * Combines this collection of batches of requests that must be executed * sequentially with that collection of batches of requests that must be * executed sequentially to return a new collection of batches of requests * that must be executed sequentially. */ export declare function add(that: Sequential): (self: Sequential) => Sequential; /** * Combines this collection of batches of requests that must be executed * sequentially with that collection of batches of requests that must be * executed sequentially to return a new collection of batches of requests * that must be executed sequentially. */ export declare function add_(self: Sequential, that: Sequential): Sequential; /** * Returns whether this collection of batches of requests is empty. */ export declare function isEmpty(self: Sequential): boolean; /** * Returns a collection of the data sources that the batches of requests in * this collection are from. */ export declare function keys(self: Sequential): Iterable>; /** * Converts this collection of batches requests that must be executed * sequentially to an `Iterable` containing mappings from data sources to * batches of requests from those data sources. */ export declare function toIterable(self: Sequential): Iterable, A.Chunk>>]>; //# sourceMappingURL=index.d.ts.map