import type { History } from 'history'; import type { PathFunction } from 'path-to-regexp'; import type { AnyIfEmpty, DefaultRoutePojo, NamedPath } from './types.js'; export interface ControllerProps { history: History; namedPaths: Record; routes: readonly Route[]; notFound: AnyIfEmpty; } export default class RouteController { private cachedMatches; private normalizedRouter; readonly history: History; readonly notFound: AnyIfEmpty; readonly pathBuilders: Record; constructor({ history, namedPaths, routes, notFound, }: ControllerProps); getMatchedRoutes(pathToMatch: string): (Route & object)[]; buildPath(pathOrPathName: string, pathData?: object): string; } //# sourceMappingURL=Controller.d.ts.map