declare function _exports( items: Iterable, getDependencies: (arg0: T) => Iterable, ): Iterable; export = _exports; export type StackEntry = { node: Node; openEdges: Node[]; }; /** * @template T */ declare class Node { /** * @param {T} item the value of the node */ constructor(item: T); item: T; /** @type {Set>} */ dependencies: Set>; marker: number; /** @type {Cycle | undefined} */ cycle: Cycle | undefined; incoming: number; } /** * @template T */ declare class Cycle { /** @type {Set>} */ nodes: Set>; }