import type { MatchResult } from "../../types.js"; import type { LookupHandler } from "./trie.js"; import type { RouteDefinition } from "./ir.js"; export type RuntimeFindFn = (rawPath: string, matchPath: string) => MatchResult | null; export type RuntimeLookupFn = (rawPath: string, matchPath: string, onMatch: LookupHandler) => boolean; export type RuntimeFallbackResult = { find: RuntimeFindFn; lookup: RuntimeLookupFn; }; export declare function createExactStaticMapRuntime(routes: RouteDefinition[]): RuntimeFallbackResult; export declare function createDynamicScannerRuntime(routes: RouteDefinition[], maxParamLength: number): RuntimeFallbackResult;