/* eslint-disable @typescript-eslint/no-explicit-any */
import { PADDING_MODE } from "@/utils/generators/interface"
import { BaseWidgetProps } from "@/widgetLibrary/interface"

export interface FormWidgetProps extends BaseWidgetProps {
  showFooter: boolean
  showHeader: boolean
  headerHeight: number
  footerHeight: number
  handleUpdateDsl: (value:any
    //  Record<string, any>
    ) => void
  handleUpdateOriginalDSLMultiAttr: (updateSlice: any
    // Record<string, any>
  ) => void
  unitH: number
  disabled: boolean
  disabledSubmit: boolean
  validateInputsOnSubmit: boolean
  resetAfterSuccessful: boolean
  columnNumber?: number
  dynamicHeight?: "auto" | "fixed" | "limited"
  formData?: Record<string, any>
  padding?: {
    size: string
    mode: PADDING_MODE
  }
  attrPath?:string
}
