export declare function switchPath(sourcePath: string, routes: Object): { path: string; value: any; };