"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.startsWithLocalizedHeading = startsWithLocalizedHeading;
const catalog_1 = require("../i18n/catalog");
function startsWithLocalizedHeading(markdown, headingKey) {
    const trimmed = markdown.trimStart();
    return (0, catalog_1.translateAllLocales)(headingKey).some((heading) => trimmed.startsWith(heading));
}
