export class UmbIntegerPropertyValuePreset {
    async processValue(value, config) {
        const min = Number(config.find((x) => x.alias === 'min')?.value ?? 0);
        const minVerified = isNaN(min) ? 0 : Math.round(min);
        return value !== undefined ? value : minVerified;
    }
    destroy() { }
}
export { UmbIntegerPropertyValuePreset as api };
