import { IPartialRouteRecord, IRouteRecord } from './types'; export declare function createRoutesFromArray(array: T[], /** * allowEmptyPath: allow empty path for children * A pageBranch could be ended with a page route with empty path. */ allowEmptyPath?: boolean): U[];