export interface ILevelledTopologicalSorter { add(precedent: TValue, consequent?: TValue | null): this; sort(): TValue[]; sortByGroups(): TValue[][]; }