/*!
 * KoliBri - The accessible HTML-Standard
 */
import { h as headingLevelOptions } from './level.js';
import { a as watchValidator } from './prop.validators.js';

const watchHeadingLevel = (component, value) => {
    watchValidator(component, '_level', (value) => typeof value === 'number' && headingLevelOptions.includes(value), new Set(headingLevelOptions.map(String)), value, {
        defaultValue: 1,
        required: true,
    });
};

export { watchHeadingLevel as w };
//# sourceMappingURL=validation.js.map

//# sourceMappingURL=validation.js.map