declare function topoSort(edges: any[]): any[]; export = topoSort;