import { M as MatchedParam } from './contracts.d-lRflQIdz.js'; type WildcardFormat = 'string' | 'array'; type DecodeParam = (value: string) => string; interface MatchOptions { delimiter?: string; trailing?: boolean; strict?: boolean; sensitive?: boolean; end?: boolean; wildcardFormat?: WildcardFormat; decode?: boolean | DecodeParam; } interface MatchSuccess { match: true; path: string; params: MatchedParam; } interface MatchFailure { match: false; params: null; } type MatchResult = MatchSuccess | MatchFailure; declare const match: (route: string, options?: MatchOptions) => (path: string) => MatchResult; export { match as default }; export type { DecodeParam, MatchOptions, MatchResult, WildcardFormat };