/**
 * Matches the consent text against the expected format.
 * @param textToMatch - The consent text to match.
 * @returns An array containing the matched index if a match is found, otherwise null.
 */
export function matchConsentText(textToMatch) {
    return textToMatch.match(/^\{\{(\d+)\}\}$/);
}
//# sourceMappingURL=index.js.map