import type { EffectAction } from "../runtime/types"; /** * Groups actions by their schedulerHints.parallelGroupId. * Actions without a parallelGroupId are placed under '__ungrouped__'. */ export declare function groupActionsByParallelGroup(actions: EffectAction[]): Map; export interface EffectiveConcurrencyOptions { maxConcurrency?: number; } /** * Returns the effective concurrency for a set of actions. * Takes the minimum of: * - The explicit maxConcurrency option (if provided) * - The minimum pendingCount from any action's schedulerHints (if any have it) * - The number of actions (default upper bound) * Returns at least 0 for empty arrays, at least 1 otherwise. */ export declare function getEffectiveConcurrency(actions: EffectAction[], options?: EffectiveConcurrencyOptions): number; //# sourceMappingURL=grouping.d.ts.map