import type { LookupHandler, MatchResult, PreparedMethod, PreparedPathname, Router, RouterOptions } from "../../types.js"; export declare class RouteCoreRouter implements Router { private readonly customMethodOrder; private readonly options; private readonly routes; private readonly preparedMethodOwner; private readonly preparedPathnameStrings; private readonly preparedPathnameFastPathState; private compiledRuntime; private runtimeVersion; private dirty; constructor(options?: RouterOptions); add(method: string, path: string, storeId: number): void; find(method: string, path: string): MatchResult | null; lookup(method: string, path: string, onMatch: LookupHandler): boolean; allowed(path: string): string[] | null; prepareMethod(method: string): PreparedMethod; preparePathname(path: string): PreparedPathname | null; findPrepared(method: PreparedMethod, pathname: PreparedPathname): MatchResult | null; lookupPrepared(method: PreparedMethod, pathname: PreparedPathname, onMatch: LookupHandler): boolean; allowedPrepared(pathname: PreparedPathname): string[] | null; private ensureCompiled; private registerMethodOrder; private methodScanOrder; private readPreparedMethodBinding; private preparePathnameInput; private findByNormalizedMethod; private lookupByNormalizedMethod; private assertPreparedMethodOwner; private rememberPreparedPathnameString; }