UNPKG

@nimpl/router

Version:

Edge router for next.js apps (i18n, basePath, rewrites, redirects)

8 lines (7 loc) 204 B
import { type Rule } from "../types/changers"; export declare const createRuleTester: () => (url: URL, rule: Rule) => Promise<{ match: boolean; groups: { [key: string]: string; }; }>;