export function APIPathGen(obj: T, callback: (path: string[])=>unknown): T;