import type { RoutePattern } from '../route-pattern.ts'; import type { ParseParams } from '../types/params.ts'; import type { Split } from '../types/split.ts'; import type { Simplify } from '../types/utils.ts'; /** Params extracted from a route pattern match. */ export type MatchParams = Simplify>, '*'>>; export type MatchParamMeta = { type: ':' | '*'; name: string; value: string; /** Start offset after pathname is normalized. */ begin: number; /** End offset after pathname is normalized. */ end: number; }; export type Match = { url: URL; pattern: RoutePattern; data: data; params: MatchParams; paramsMeta: { hostname: ReadonlyArray; pathname: ReadonlyArray; }; }; //# sourceMappingURL=types.d.ts.map