import { PathPattern } from 'react-router-dom'; export declare const transTitleToHeader: (title: string) => string; /** * 判断一个路径是否在给定的路由规则数组中 * @param {string} path 需要测试的路径 * @param {PathRule} paths 路由的数组 */ export declare const isPathMatch: (path: string, paths: PathPattern[] | string[]) => boolean;