export function longestPath(g: any): void; export function slack(g: any, e: any): number;