/** * @abstract * @template P The result type of parsing */ export class EDTFParser
{
/**
* Creates an EDTF parser.
*
* @protected
* @param {string} name The name of the component to parse.
* @param {string} format The Regexp pattern to match.
*/
protected constructor();
/**
* @readonly
* @type RegExp
*/
readonly regExp: RegExp;
name: string;
/**
* @protected
* @param {string} str
* @return {{[p: string]: string}}
*/
protected regexGroups(str: string): {
[p: string]: string;
};
/**
* @abstract
* @protected
* @param {{[p: string]: string}} groups The regex groups
* @return {Record