1 | import { DepTree } from './index';
|
2 | import { PartitionedCycles } from './cycles';
|
3 | declare type NodeId = string;
|
4 | export declare type MemoizationMap = Map<NodeId, {
|
5 | depTree: DepTree;
|
6 | cycleNodeIds?: Set<NodeId>;
|
7 | }>;
|
8 | export declare function memoize(nodeId: NodeId, memoizationMap: MemoizationMap, depTree: DepTree, partitionedCycles: PartitionedCycles): void;
|
9 | export declare function getMemoizedDepTree(nodeId: NodeId, ancestors: NodeId[], memoizationMap: MemoizationMap): DepTree | null;
|
10 | export {};
|