import { Match, PatternToRegexpResult as WouterPTR } from 'wouter';
import { RouteProps } from './component';
export declare type MatcherFn = (location: string | undefined, prop: RouteProps) => Match;
export declare type PatternToRegexpResult = {
    ''?: WouterPTR;
    exact?: WouterPTR;
    strict?: WouterPTR;
    sensitive?: WouterPTR;
    exactstrict?: WouterPTR;
    exactsensitive?: WouterPTR;
    strictsensitive?: WouterPTR;
    exactstrictsensitive?: WouterPTR;
};
export declare function makeMatcher(): MatcherFn;
