export declare const flattenRoutes: (items: any, maxLength?: number, prepend?: string, parents?: string[]) => {};