import type { IRoute } from '@umijs/types'; import type { IDumiOpts } from '../index'; /** * normalize file path to route path * @param oPath original file path * @param localePath locale path (optional) * @param locales current locale options (optional) */ export declare function normalizePath(oPath: string, localePath?: string, locales?: IDumiOpts['locales']): any; declare const _default: (absPath: string, opts: IDumiOpts) => IRoute[]; export default _default;