import { Context, Register } from "@halsp/core"; import { HttpOptions } from "./options"; export interface ParsedRegister { methods: string[]; url: string; handler?: Register["handler"]; } export declare class MapMatcher { #private; private readonly ctx; private readonly options; constructor(ctx: Context, options: HttpOptions); match(): Promise; private getRegister; private isPathMatched; private getMostLikeRegister; } export declare function parsePattern(register: Register): ParsedRegister;