/*!
 * KoliBri - The accessible HTML-Standard
 */
import { headingLevelOptions } from "../../internal/props/level";
import { watchValidator } from "../../schema/utils";
export const watchHeadingLevel = (component, value) => {
    watchValidator(component, '_level', (value) => typeof value === 'number' && headingLevelOptions.includes(value), new Set(headingLevelOptions.map(String)), value, {
        defaultValue: 1,
        required: true,
    });
};
//# sourceMappingURL=validation.js.map
