import React from 'react'; interface LinkRewritesService { originUrl: string; translateRoute(path: string): string | null; getRedirect(path: string): string | null; } interface Rewrite { source: string; destination: string; } interface Redirect { source: string; destination: string; } interface PropsType { rewrites: Rewrite[]; redirects: Redirect[]; originUrl: string; children: React.ReactNode; } export declare function LinkRewriteContextProvider(props: PropsType): import("react/jsx-runtime").JSX.Element; export declare function useHrefRewrite(): LinkRewritesService; export {};