/* eslint-disable @typescript-eslint/no-explicit-any */
import React from "react";

export interface OTPWidgetProps {
  displayName: string,
  label: string;
  separator: string,
  styles?: React.CSSProperties;
  type: "number" | "alphabet"
  color?: "primary" | "secondary" | "success" | "error" | "info" | "warning";
  size?: "small" | "medium";
  disabled?: boolean;
  length: number
  value?: string
  error?: boolean;
  tooltipText?: string;
  defaultValue?: string;
  required?: boolean;
  startAdornmentIconName?: any;
  endAdornmentIconName?: any;
  hideValidationMessage?: boolean;
  otherProps?: React.InputHTMLAttributes<HTMLInputElement>;
  updateComponentHeight?: (height: number) => void,
  triggerEventHandler?: any,
  handleUpdateDsl?: any,
  validateMessage?: string,
  updateComponentRuntimeProps?: any,
  deleteComponentRuntimeProps?: any,
  handleUpdateMultiExecutionResult?: any,
  isClassTrue: boolean,
  trueClasses: [],
  falseClasses: [],
  context:any,
  boxWidth?:number,
  boxHeight?:number,
}

