import { type Hash } from 'util/index.js';
import type { Action, Graph, Link } from './types.js';
/** Returns all links that are concurrent with the given link. */
export declare const getConcurrentLinks: (graph: Graph, link: Link) => Array>;
export declare const getConcurrentHashes: (graph: Graph, hash: Hash) => Hash[];
/**
* Creates a lookup (by hash) containing the hashes of all links that are concurrent with the
* corresponding link.
* ```
* {
* hash: [childHash, childHash, ...],
* hash: [childHash, childHash, ...],
* }
* ```
*/
export declare const calculateConcurrency: (graph: Graph) => Record;
export declare const isConcurrent: (graph: Graph, a: Hash, b: Hash) => boolean;
export declare const getConcurrentBubbles: (graph: Graph) => Hash[][];
//# sourceMappingURL=concurrency.d.ts.map