/**
 * Registry for Pro-registered price animation options.
 */

export interface PriceAnimationOption {
  value: string;
  label: string;
}

const priceAnimationOptions: PriceAnimationOption[] = [];

export function registerPriceAnimationOption(option: PriceAnimationOption): void {
  if (!priceAnimationOptions.some((existing) => existing.value === option.value)) {
    priceAnimationOptions.push(option);
  }
}

export function getPriceAnimationOptions(): readonly PriceAnimationOption[] {
  return priceAnimationOptions;
}
