import { TFunction } from "i18next"; export interface RouteDef { path: string; titleKey: string; } /** * @param ROUTES - all of the routes for matching, each route should contain a `titleKey` to be used in translation * @param t - translation function */ export declare function useRouteNameAsDocumentTitle(ROUTES: Record, t: TFunction): void;