/** * Copyright (c) 2018-present, heineiuo. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /// import { RefObject } from 'react'; import { RouteProps } from '../types.js'; type RouteListType = (RouteProps & { pathRe: RegExp; key: string; ref: RefObject; })[]; export declare function useRoutesFromChildren(children: any): RouteListType; export {};