export declare function matchUrl(url: string, pattern: string | RegExp): boolean;