declare function convert(regex: RegExp, { argsOnly }?: { argsOnly?: boolean | undefined; }): string; export { convert };