inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import type { Group } from './route-regex';
import type { Params } from '../../../../server/request/params';
export interface RouteMatchFn {
(pathname: string): false | Params;
}
type RouteMatcherOptions = {
re: Pick<RegExp, 'exec'>;
groups: Record<string, Group>;
};
export declare function getRouteMatcher({ re, groups, }: RouteMatcherOptions): RouteMatchFn;
export {};