import { RouteRedirects } from '../types/redirects'; import { Route } from '../types/route'; type CreateRouteRedirectsContext = { /** * The to route for the redirectFrom callback and the from route for the redirectTo callback. */ getRoute: () => Route; }; export declare function createRouteRedirects({ getRoute }: CreateRouteRedirectsContext): RouteRedirects; export {};