/** * Executes a RegExp against a string and returns the first capture group, or the full match if * there is no capture group. Returns undefined when the pattern does not match. */ export declare function extractRegexMatch(candidate: string, extractor: RegExp): string | undefined;