import { r as registerInstance } from './index-f1d2a96f.js';
import { t as translateInterval } from './price-593b80d5.js';
import './default-i18n-91ef32a0.js';
import './index-0a61debd.js';
import './_commonjsHelpers-9943807e.js';

const ScFormatInterval = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    /** The number to format. */
    this.value = 0;
    this.interval = '';
    this.every = '/';
    this.fallback = '';
  }
  render() {
    return translateInterval(this.value, this.interval, ` ${this.every}`, this.fallback);
  }
};

export { ScFormatInterval as sc_format_interval };
