import type { TReRoutes, TRouteBranch, TRouteSegment } from '../types'; /** * Get redirects and rewrites for a page */ export declare const getPageReRoutes: ({ locales, routeSegments, defaultLocale, }: { locales: L[]; routeSegments: TRouteSegment[]; defaultLocale?: L | undefined; }) => TReRoutes; /** * Generate reroutes in route branch to feed the rewrite section of next.config */ export declare const getRouteBranchReRoutes: ({ locales, routeBranch: { children, ...routeSegment }, previousRouteSegments, defaultLocale, }: { locales: L[]; routeBranch: TRouteBranch; previousRouteSegments?: TRouteSegment[] | undefined; defaultLocale?: L | undefined; }) => TReRoutes;