import { H3Event } from "../../node_modules/.pnpm/h3@1.15.11/node_modules/h3/dist/index.js"; import { PathMatcherParam } from "@clerk/shared/pathMatcher"; //#region src/runtime/server/routeMatcher.d.ts type RouteMatcherParam = PathMatcherParam; /** * `createRouteMatcher` is a Clerk helper function that allows you to protect multiple routes. It accepts an array of routes and checks if the route the user is trying to visit matches one of the routes passed to it. * * The `createRouteMatcher` helper function returns a function that accepts a Vue Router route location and will return `true` if the user is trying to access a route that matches on of the routes passed to `createRouteMatcher`. * * @example * ['/foo', '/bar(.*)'] * @example * [/^\/foo\/.*$/] */ declare const createRouteMatcher: (routes: RouteMatcherParam) => (event: H3Event) => boolean; //#endregion export { RouteMatcherParam, createRouteMatcher }; //# sourceMappingURL=routeMatcher.d.ts.map