declare module 'pcre-to-regexp' { export default function (pattern: string, keys?: string[]): RegExp }