import { type Action, type Link, type LinkComparator, type Graph } from './types.js'; /** Flattens a hash graph into a sequence */ export declare const topoSort: (graph: Graph, options?: TopoSortOptions) => Array>; type TopoSortOptions = { comparator?: LinkComparator; }; /** By default, we use the links' hashes to order them in an arbitrary but predictable sequence. */ export declare const byHash: LinkComparator; export {}; //# sourceMappingURL=topoSort.d.ts.map