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

export interface InputWidgetProps {
  displayName:string,
    label: string;
    context:any,
    placeholder?: string;
    fullWidth?: boolean;
    margin?: "none" | "dense" | "normal";
    variant?: "outlined" | "flat";
    type: "text" | "number"|"OTP"|"phone_no";
    color?: "primary" | "secondary" | "success" | "error" | "info" | "warning";
    disabled?: boolean;
    value?: string
    error?: boolean;
    helperText?: string;
    tooltipText?:string;
    defaultValue?:string;
    required?: boolean;
    rows?:number|string
    multiline?: boolean;
    startAdornmentIconName?: any;
    endAdornmentIconName?: any;
    minLength?:number;
    maxLength?:number;
    customRule?:any,
    pattern?: string;
    regex?: string;
    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:[],
    errorMessage?:string
    numberOfLines?: number
  }
  
