import * as React$1 from 'react'; import React__default, { ReactNode, FC, RefObject, LegacyRef, CSSProperties, ReactElement, Ref, ComponentProps, Component, ErrorInfo } from 'react'; import * as LazyLoad from 'react-window'; export { LazyLoad }; import * as Form from 'react-hook-form'; import * as DNDCore from '@dnd-kit/core'; import * as DNDSortable from '@dnd-kit/sortable'; import * as DNDUtilities from '@dnd-kit/utilities'; import * as DNDModifiers from '@dnd-kit/modifiers'; import ReCAPTCHA from 'react-google-recaptcha'; import { Props } from 'tippy.js'; export { default as Janus } from 'janus-gateway'; export { default as adapter } from 'webrtc-adapter'; type DynamicObj$1 = { [key: string]: any; }; interface CreateVariableProps { /** * Open Create variable Slider */ isOpen: boolean; /** * Value for the variable name */ variableName: string; /** * Value for the variable to be created */ variableValue: string; /** * List for the variable types */ variableTypesList: DynamicObj$1[]; /** * Selected variable type */ selectedVariableType: DynamicObj$1; /** * Function to handle variable type change * @param option * @returns */ onVariableTypeChange: (option: DynamicObj$1) => void; /** * Function to handle close */ onClose?: () => void; /** * onChange of name */ onNameChange: (value: string) => void; /** * onChange of value */ onValueChange: (value: string, dropdownItem?: DynamicObj$1) => void; /** * Hide value */ hideValue: boolean; /** * onChange for hide value */ onHideChange: (value: boolean) => void; /** * Function to handle submit */ handleSubmit: () => void; /** * verify which drawer is open, create or edit */ mode?: 'create' | 'edit'; /** * Disable the checkbox */ disabled?: boolean; /** * Hide or show dropdown for hash values */ isHash?: boolean; /** * Stores the files data */ dataFiles?: DynamicObj$1[]; /** * Show or hide password icon */ showHidePasswordIcon?: boolean; /** * Show or hide checkbox scenario */ showHideValueOption?: boolean; /** * Show placeholder text */ placeholder?: string; truncateTextValue?: number; /** * If true, pressing Enter triggers submit */ isEnterKeySubmit?: boolean; } interface ButtonProps { /** * Variant of the button */ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning' | 'custom' | 'danger' | string; /** * What background color to use */ backgroundColor?: string; /** * What border color to use */ border?: string | number; /** * What border color to use */ size?: 'small' | 'medium' | 'large'; /** * Button contents */ label?: string; /** * Type of the button */ type?: 'button' | 'submit'; disabled?: boolean; /** * Optional click handler */ onClick?: (event: React.MouseEvent) => void; /** * Optional click handler for Copying the value */ onCopy?: (event: React.ClipboardEvent) => void; /** * Button content */ children?: ReactNode; /** * Button id */ id?: string; /** * onSubmit function handler */ onSubmit?: (event: React.MouseEvent) => void; /** * react ref for the button */ ref?: any; /** * Classname for the button */ className?: string; /** * Additional styles for the button */ style?: React.CSSProperties; /** * Give icon name availble in storybook that to be on left side of button */ iconName?: string; /** * Give icon name availble in storybook that to be on left side of button */ iconPosition?: 'left' | 'right'; transparentBackground?: boolean; /** * form to accept form id in string */ form?: string; /** * Is the Type ChooseFile for the button */ isChooseFile?: boolean; /** * Custom Width for the button */ buttonWidth?: string; /** * Custom Height for the button */ buttonHeight?: string; /** * selectedfile object will be send. */ selectedFile?: File | DynamicObj$1 | null; /** * handleCloseIcon function will set to the initial state . */ handleCloseIcon?: () => void; /** * create custom button font size . */ fontSize?: number; /** * create custom button style . */ typographyStyle?: React.CSSProperties; iconColor?: string; /** * Is the Type ChooseFile Action Mandatory for the button */ isMandatory?: boolean; iconSize?: { width?: number; height?: number; }; } declare const Button: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface BtnPropsCommon { /** * Variant of the button */ variant?: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning' | 'custom' | 'danger' | string; /** * Label for the button */ label?: string; /** * Boolean value to disable the button */ disabled?: boolean; /** * Onclick function for button */ onClick?: () => void; /** * Button type * @default 'button' * @example 'submit' * @example 'button' */ type?: 'button' | 'submit'; /** * form to accept id of form in string format */ form?: string; } interface DrawerProps { /** * To Open the Drawer */ isOpen: boolean; /** * To Expand the Drawer */ _isExpanded?: boolean; /** * To show and hide the back button of the Drawer */ isBackButtonVisible?: boolean; /** * To show and hide the close button of the Drawer */ _isCloseModalButtonVisible?: boolean; /** * Function to close the drawer */ onClose?: () => void; /** * Function to go back in the drawer */ onBackButtonClick?: () => void; /** * Size of the drawer medium = 550px large = 850px */ size?: 'small' | 'medium' | 'large' | 'x-large'; /** * Body Content of the drawer */ children: ReactNode; /** * Header title for the drawer */ title?: string | ReactNode; /** * To show the edit button on the header */ showEditButton?: boolean; /** * To show the transition effect while the drawer comes */ showTransition?: boolean; /** * Primary | Success button props */ primaryButtonProps?: BtnPropsCommon; /** * Secondary | Cancel button props */ secondaryButtonProps?: BtnPropsCommon; /** * Left side Primary Button | Cancel button props */ leftPrimaryButtonProps?: BtnPropsCommon; /** * Left side Secondary | Cancel button props */ leftSecondaryButtonProps?: BtnPropsCommon; /** * Left side Tertiary Button | Help button props */ leftTertiaryButtonProps?: BtnPropsCommon; /** * Right side Tertiary Button | More Info button props */ rightTertiaryButtonProps?: BtnPropsCommon; /** * Onclick function for edit button */ onEdit?: () => void; /** * Background overlay for the drawer */ overlay?: boolean; /** * displays footer if its true, default true */ isFooterRequired?: boolean; /** * footer Content */ footerContent?: ReactNode; /** * To show or hide the header */ showHeader?: boolean; /** * Custom back button icon * The icon to display for the back button. * If not provided, a default icon will be used. */ backButtonIcon?: ReactNode; /** * Callback function when the close icon is clicked */ onCloseIconClick?: () => void; /** * Custom header for the drawer, replacing the default header. * If provided, this will render in place of the default header. */ customHeader?: ReactNode; /** * Custom footer for the drawer, replacing the default footer. * If provided, this will render in place of the default footer. */ customFooter?: ReactNode; /** * Custom z-index for the drawer */ zIndex?: number; /** * Custom top for the drawer */ top?: string; /** * Height of the drawer */ height?: string; /** * * width of the drawer */ width?: string; /** * Position from right */ right?: string | number; /** * Custom overflow for the drawer */ overflow?: string; /** * Callback function returns a boolean value when the drawer is collapsed. */ onCollapse?: (value: boolean) => void; /**This optional boolean prop determines whether the drawer body displays a scrollbar when its content overflows. */ isScrollBar?: boolean; /** *To Close the drawer when clicking outside of it. */ isClickOutside?: boolean; ignoreRefs?: Array>; noHeaderBorder?: boolean; direction?: 'right' | 'left'; } declare const Drawer: FC; interface IconProps$2 { name: string; className?: string; height?: number; width?: number; color?: string; onClick?: (data?: any) => void; hoverEffect?: boolean; isSelected?: boolean; disabled?: boolean; variant?: 'dark' | 'light' | 'danger'; x?: string; y?: string; chartIcon?: boolean; tabIndex?: number; toolTipTitle?: string; 'aria-label'?: string; cursorType?: string; withPadding?: boolean; } declare const Icon: React$1.ForwardRefExoticComponent>; interface AccordionProps { /** * Accordion Header Title */ headerTitle: string | JSX.Element; /** * Content that to be shown while Accordion is expanded */ accordionContent: ReactNode; /** * Custom color for the Accordion header */ color?: string; /** * Minimum height for the Accordion */ minHeight?: string; /** * Property to disable accordion */ disable?: boolean; /** * Info message to user for disabling accordion */ disableInfoMessage?: string; /** * Icon name for the Accordion state like expand and collapse */ accordionStateIconName?: string; /** * Accordion collapse and expand Icon width */ AccordionStateIconWidth: number; /** * Accordion collapse and expand Icon height */ AccordionStateIconHeight: number; /** * Optional props for initial state of Accordion */ isExpand?: boolean; /** * Callback function for the accordion header click */ onClick?: () => void; /** * Providing className for Styles */ className?: string; iconColor?: string; highlightText?: string; accordionContentStyle?: React.CSSProperties; } /** * Accordion UI component */ declare const Accordion: ({ highlightText, headerTitle, color, minHeight, accordionContent, disable, disableInfoMessage, accordionStateIconName, AccordionStateIconWidth, AccordionStateIconHeight, isExpand, onClick, className, iconColor, accordionContentStyle, }: AccordionProps) => React$1.JSX.Element; type OptionValue$4 = any; interface Option$6 { [key: string]: OptionValue$4; } interface MultiSelectProps { options: Option$6[]; type?: 'email' | 'text'; label: string; selectedOptions?: Option$6[]; disabled?: boolean; onSearch?: (searchedKeyword: string) => void; onChange?: (selectedOptions: Option$6[]) => void; acceptNewOption?: boolean; zIndex?: number; required?: boolean; errorMessage?: string; withSelectButton?: boolean; onSelectButtonClick?: (selectedOptions: Option$6[]) => void; displayCount?: boolean; isAllSelected?: boolean; onToggleAllSelect?: (checkedState: boolean) => void; displayAllSelectedAsText?: boolean; placeholderForSearching?: string; isAllSelect?: boolean; /** Default is default. choose labels variant if you are using this component for labels dropdown or choose machines if you are using this component in parallel */ variant?: 'default' | 'labels' | 'machines' | 'ai'; /** Pass the function what to do upon clicking label plus icon */ onLabelPlusIconClick?: (_enteredKeyword: string) => Promise; /** classname to handle styling wrt to multiselect div and and labelplus icon */ className?: string; labelAccessor?: string; valueAccessor?: string; searchAccessor?: string; onEnter?: (newOption: string) => boolean; loadMoreOptions?: () => void; maxVisibleChips?: number; onBlur?: () => void; /** default max height is 160px, give max dropdown height while using jsx or want to control how many max options you want to show */ maxDropdownHeight?: number; /** * Ref for select option dropdown */ dropdownContainerRef?: RefObject; noResultsMessage?: string; chipAccessor?: string; isCloseIconToolTip?: boolean; setIsDropDownOpen?: (value: boolean) => void; dropdownPlacement?: 'top' | 'bottom' | 'auto'; dropdownClassName?: string; } declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, isAllSelected, onToggleAllSelect, displayAllSelectedAsText, isAllSelect, placeholderForSearching, variant, onLabelPlusIconClick, className, onSelectButtonClick, labelAccessor, valueAccessor, searchAccessor, withSelectButton, loadMoreOptions, onEnter, maxVisibleChips, onBlur, maxDropdownHeight, dropdownContainerRef, noResultsMessage, chipAccessor, isCloseIconToolTip, setIsDropDownOpen, dropdownPlacement, dropdownClassName, }: MultiSelectProps) => React__default.JSX.Element; interface ToasterProps { /**Boolean value to handle state of toaster. */ isOpen: boolean; /**Variant for different type of toast message. */ variant: 'success' | 'warning' | 'danger' | 'info' | 'confirm' | 'alert'; /**Title of the toaster */ toastTitle: string; /**Message for the toaster. */ toastMessage?: string; /**Function to call upon clicking the close icon or cancel button. */ onCancelClick?: () => void; /**Function to call when confirmation the prompt. */ onConfirmation?: () => void; /**Duration in ms for which toaster will stay on the screen */ displayDuration?: number; /**Confirmation text for variant confirm. */ confirmationText?: string; /**z-index value */ zIndex?: number; } declare const Toaster: React__default.FC; interface ContainerProps { /** * The content to be displayed inside the container. * Typically consists of rows and columns. * * @type {ReactNode} */ children: ReactNode; /** * Determines if the container should be fluid (expand to 100% width) or fixed width. * * @default false * @type {boolean} */ fluid?: boolean; /** * Defines the gap (spacing) between the rows and columns inside the container. * Accepts any valid CSS size value (e.g., '10px', '1rem', etc.). * * @default '0px' * @type {string} */ gap?: string; /** * Classname for Container * @default '' * @type {string} */ className?: string; } interface RowProps { /** * The content to be displayed inside the row, usually consisting of columns (``). * * @type {ReactNode} */ children: ReactNode; /** * The gap (spacing) between columns within the row. * Accepts any valid CSS size value. * * @default '0px' * @type {string} */ gap?: string; /** * @default '' * @type string */ className?: string; } interface ColProps { /** * The content to be displayed inside the column. * * @type {ReactNode} */ children: ReactNode; /** * Defines the width of the column as a fraction of 12 (for a 12-column grid system). * For example, `size={6}` would make the column take up half the width of the row. * * @default 12 * @type {number} */ size?: number; /** * @default '' * @type string * */ className?: string; } declare const Container: React__default.FC; declare const Row: React__default.FC; declare const Col: React__default.FC; interface ToggleProps { /** * Optional onChange handler */ onChange?: (event: React.MouseEvent) => void; /** * Optional disabled state */ disabled?: boolean; /** * Optional checked state */ checked?: boolean; /** * Optional id */ id?: string; /** * What background color to occur upon toggled */ variant?: 'primary' | 'secondary'; /** * Defines the size of the toggle */ size?: 'small' | 'medium' | 'large'; /** * Optional icon configuration for the toggle. This allows for custom icons to be used for both the checked and unchecked states. * * @property checked - Icon configuration for the checked state. * @property unchecked - Icon configuration for the unchecked state. * * @example * { * checked: { name: 'checked-icon', width: 24, height: 24 }, * unchecked: { name: 'unchecked-icon', width: 24, height: 24 } * } */ icon?: { checked?: { name: string; width: number; height: number; }; unchecked?: { name: string; width: number; height: number; }; }; } declare const Toggle: React__default.FC; interface ChipsProps { /** * The text to be displayed on the Chip. */ label: string; /** * The text to be displayed on hover. */ fullText?: string; /** * The variant of the Chip. */ variant?: 'primary' | 'success' | 'error' | 'warning' | 'custom' | 'public' | 'partial-public' | 'private' | 'disabled' | 'count'; /** * The callback function to be executed when the Chip is clicked. */ labelWidth?: number; fullTextWidth?: number; disableCollapse?: boolean; onClick?: () => void; } declare const Chip: ({ label, fullText, variant, labelWidth, fullTextWidth, onClick, disableCollapse, }: ChipsProps) => React$1.JSX.Element; interface TooltipProps { /** * The text or content to be displayed inside the tooltip. * This can be a string or any React node. */ title?: string | React.ReactNode; /** * The children over which the tooltip will be displayed. * Typically a button or any other interactive element. */ children: React.ReactNode; /** * The placement of the tooltip relative to the children. * Defines where the tooltip appears: top, bottom, left, right, etc. * * @default 'bottom' */ placement?: 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; /** * Whether the tooltip is disabled. * If true, the tooltip will not be displayed. * * @default false */ disabled?: boolean; /**. * Z-Index is by default 99 * * @default 99 */ zIndex?: number | string; style?: React.CSSProperties; tooltipStyle?: React.CSSProperties; /** * For JSX elements */ as?: React.ElementType; } declare const Tooltip: React__default.FC; interface InputProps { /** * Name | name of the input field */ name: string; /** * Label | field label to be displayed */ label?: string; /** * value | input field value */ value: string | number; /** * variants to set color/style of the input field */ variant?: 'default' | 'primary'; /** * type to set color/style of the input field */ type: 'text' | 'password' | 'number' | 'email' | 'url' | 'time'; /** * error | If true, error message will be displayed */ error?: boolean; /** * helperText | error, success, warning message to be shown */ helperText?: string; /** * isHelperTextRequired for Helper/Info message to be shown */ isHelperTextRequired?: boolean; /** * to disable the input field */ disabled?: boolean; /** * if true, input field will be mandatory */ required?: boolean; /** * placeholder for the input field */ placeholder?: string; /** * classnames to style the input field */ className?: string; /** * noBorder prop 'true' removes border of input */ noBorder?: boolean; /** * onChange, onKeyDown, onBlur, onFocus actions */ onChange?: (event: React.ChangeEvent, item?: any) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; onClick?: (event: React.MouseEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; onWheel?: (event: React.WheelEvent) => void; /** * id to select the input field uniquely */ id?: string; /** * if on, suggestion popup will be displayed */ autoComplete?: 'on' | 'off' | 'new-password'; /** * if true, input field is in autofocus state */ autoFocus?: boolean; /** * minimum and maximum values for the number type input field and their functions */ minValue?: string | number; maxValue?: string | number; /** * background of the input field prop */ transparentBackground?: boolean; /** * size for the input field */ size?: 'small' | 'medium'; /** * isLabelRequired for the input field without label, showing placeholder */ isLabelRequired?: boolean; /** * optional '15px' reserve helperText space prop for the input field */ reserveHelperTextSpace?: boolean; setUpdatedNumberValue?: (value: number) => void; /** * Flag to determine if error messages and error styling should be displayed immediately. */ displayErrorImmediately?: boolean; /** * Flag to determine if search icon for input needs to displayed or not. */ showSearchIcon?: boolean; /** * Icon props. */ searchIconProps?: IconProps$2; /** * Function to search url on icon click. */ handleSearchIconClick?: (e: any) => void; /** * Allows the user to copy the content but not edit it */ readOnly?: boolean; onPaste?: (event: React.ClipboardEvent) => void; /** * Reset min and max value for the input field on blur */ adjustToValidRange?: boolean; /** * pattern for input component */ pattern?: string; /** * background for handle input component background */ background?: string; /** * Prevents the user from entering values greater than the specified maxValue. */ disableAfterMaxValueReached?: boolean; helperTextWidth?: string | number; fixedLabel?: boolean; iconProps?: { /** * Flag to determine if icon should be shown */ isShowIcon?: boolean; /** * Function triggered when icon is clicked */ onIconClick?: (event: React.MouseEvent) => void; /** * Name of the icon to display */ iconName?: string; /** * Tooltip title shown when hovering over icon */ iconToolTipTitle?: string; /** * Flag to disable the icon */ isIconDisable?: boolean; iconColor?: string; /** * Show clear icon if true */ isClearIcon?: boolean; }; isCapitalize?: boolean; } declare const Input: React$1.ForwardRefExoticComponent>; type Status$1 = { status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'passed' | 'failed' | 'warning' | 'skipped'; value: number; }; interface RadialChartProps { radius: number; lineWidth: number; statusValues: Status$1[]; onClick?: (status: Status$1) => void; fontSize: number; gap?: number; } declare const RadialChart: React__default.FC; interface ExpandableMenuProps { /** * mandatory | label for the expandable menu */ label: string; /** * optional | Icon to describe direction of expansion */ icon?: React.ReactNode; /** * optional | variant of the menu */ variant?: 'primary'; /** * optional | size of the expandable menu */ size?: 'medium'; /** * optional | disable to disable the menu and prevent click events but not hover event */ disable?: boolean; /** * Mandatory | sub menus to be shown inside expandable menu */ subMenus: string[]; /** * optional | selected sub menu of the expandable menu */ selectedMenu?: string; /** * optional | onSubMenuClick event to perform action on click of sub menu */ onSubMenuClick?: (subChip: any) => void; menuExpandStatus?: boolean; tooltipTitle?: string; } declare const ExpandableMenu: React.FC; interface SelectProps$1 { label?: string; showLabel?: boolean; /** * Provide the boolean value if arrow icon is reuired or not */ showArrowIcon?: boolean; optionsList: Option$5[]; selectedOption: Option$5; onChange: (option: Option$5) => void; errorMsg?: string; helperText?: string; className?: string; optionZIndex?: number; disabled?: boolean; borderRadius?: string; showBorder?: boolean; required?: boolean; /** * optionsRequired:false prop removes options from dropdown & shows static label only */ optionsRequired?: boolean; selectedOptionColor?: string; labelAccessor?: string; valueAccessor?: string; height?: number; width?: number | string; onBlur?: () => void; disableInput?: boolean; showIcon?: boolean; iconName?: string; /** * Provide the placehoder for the select */ placeHolder?: string; /** * Provide the boolean value if tooltip is reuired or not */ showToolTip?: boolean; /** * Provide the background color for the select label on the hover state */ labelBackgroundColor?: string; /** * To close the modal in the select dropdown */ onCancelModal?: () => void; /** * To close the modal in the select dropdown */ onSaveModal?: () => void; /** * Pass the custom Jsx for the Modal */ modalJSXProps?: ReactNode; /** * Pass the recurrence boolean for the exeception cases */ recurrence?: boolean; /** * Toggles the visibility of dropdown options, when called, toggles the dropdown visibility */ showOptions?: { open: boolean; toggle: boolean; }; /** * Tooltip for input data */ tooltip?: boolean; /** * Provide the boolean value if close icon is reuired or not */ showClearIcon?: boolean; /** * Handel function for clearing the selected data */ handelClear?: () => void; /** * Handle background color */ background?: string; /** * No Result message */ noResultsMessage?: string; /** * Ref for select option dropdown */ dropDownRef?: RefObject; /** * isGrouped prop for grouped options */ isGrouped?: boolean; /** * handling dropdownDown height */ dropDownHeight?: number; onSearchText?: (text: string) => void; isCustomButtonDisabled?: boolean; hasInnerClearIcon?: boolean; dropdownInnerIconWidth?: number; /** * callback triggers on the open of dropdown */ onDropdownOpen?: () => void; dropdownPlacement?: 'top' | 'bottom' | 'auto'; dropdownClassName?: string; variant?: 'default' | 'ai' | 'machines'; isCapitalize?: boolean; } type OptionValue$3 = any; interface Option$5 { [key: string]: OptionValue$3; } declare const Select: FC; interface TextareaProps { /** * Name | name of the textarea field */ name: string; /** * Label | field label to be displayed */ label: string; /** * value | textarea field value */ value: string; /** * variants to set color/style of the textarea field */ variant?: 'default' | 'primary'; /** * error | If true, error message will be displayed */ error?: boolean; /** * helperText | error, success, warning message to be shown */ helperText?: string; /** * to disable the textarea field */ disabled?: boolean; /** * if true, textarea field will be mandatory */ required?: boolean; /** * placeholder for the textarea field */ placeholder?: string; /** * classnames to style the textarea field */ className?: string; /** * onChange, onKeyDown, onBlur, onFocus actions */ onChange?: (event: React.ChangeEvent) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; onPaste?: (event: React.ClipboardEvent) => void; /** * id to select the textarea field uniquely */ id?: string; /** * if on, suggestion popup will be displayed */ autoComplete?: 'on' | 'off'; /** * background of the textarea field prop */ /** * capacity | Maximum number of characters allowed in the textarea. */ capacity?: number; /** * rows | Number of visible text lines in the textarea. * Used to control the height of the textarea. */ rows?: number; /** * cols | Number of visible character widths in the textarea. * Used to control the width of the textarea. */ cols?: number; /** * for resizing purpose */ resize?: boolean; errorText?: string; /** * To make text are read only state */ readOnly?: boolean; /** * To show the capacity of textArea chars. */ displayCapacity?: boolean; /** * isLabe lRequired for the textArea field without label, showing placeholder */ isLabelRequired?: boolean; } declare const Textarea: ({ capacity, name, label, value, variant, error, helperText, disabled, required, placeholder, className, onChange, onBlur, onFocus, onPaste, rows, cols, resize, errorText, readOnly, displayCapacity, isLabelRequired, ...props }: TextareaProps) => React$1.JSX.Element; interface StatusButtonProps { /** * Status of the button */ status: 'default' | 'passed' | 'failed' | 'running' | 'skipped' | 'warning' | 'terminated' | 'partially-executed' | 'aborted' | 'onhold' | 'queued' | 'descoped' | 'tobevalidated' | 'tobetested' | 'not-executed'; /** * Button label (status text) */ label?: string; /** * Optional click handler */ onClick?: (event: React.MouseEvent) => void; /** * Button content */ children?: ReactNode; /** * Button id */ id?: string; /** * Disabled state */ disabled?: boolean; /** * Classname for the button */ className?: string; /** * Additional styles for the button */ style?: React.CSSProperties; useDefaultCursor?: boolean; displayTooltip?: boolean; } declare const StatusButton: ({ status, label, onClick, className, style, disabled, useDefaultCursor, displayTooltip, ...props }: StatusButtonProps) => React$1.JSX.Element; interface OptionClick { /** * The label displayed for the option. * @type {string} * @required */ label: string | ReactNode; /** * The value(s) associated with the option, which can be a single string or an array of strings. * @type {Array | string} * @required */ value: any; keepMenuOpen?: boolean; } interface OptionType extends OptionClick { /** * The name of the icon associated with the option. * @type {string} * @optional */ icon?: string | ReactNode; iconColor?: string; keepMenuOpen?: boolean; name?: string | ReactNode; /** * Indicates whether the option is disabled. * @type {boolean} * @optional */ disable?: boolean; /** * To hide the option. * @type {boolean} * @optional */ hide?: boolean; tooltipForOption?: string; tooltipPlacementForOption?: 'top' | 'left' | 'right' | 'bottom' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | undefined; } interface MenuOptionProps { /** * The name of the label displayed next to the icon. * @type {string} * @optional */ labelName?: string; /** * The name of the icon to be displayed. * @type {string} * @required */ iconName: string; /** * The list of options available in the dropdown. * @type {Array} * @required */ options: Array; /** * The title displayed in the tooltip when hovering over the icon. * @type {string} * @optional */ tooltipTitle?: string; /** * The placement of the tooltip relative to the icon. * @type {'bottom' | 'left' | 'right' | 'top' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'} * @optional */ tooltipPlacement?: 'bottom' | 'left' | 'right' | 'top' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; /** * The placement of the dropdown menu relative to the icon. * @type {dropdownPosition} * @optional */ dropdownPlacement?: 'top' | 'down' | 'left' | 'right' | 'bottomLeft'; /** * The variant of the menu option, either 'dark' or 'light'. * @type {'dark' | 'light'} * @default 'light' * @optional */ variant?: 'dark' | 'light'; /** * Callback function triggered when the icon is clicked. * @type {() => void} * @optional */ onClick?: () => void; /** * Callback function triggered when an option is clicked. * @param {OptionClick} option - The option that was clicked. * @type {(option: OptionClick) => void} * @optional */ onOptionClick?: (option: OptionClick) => void; /** * The size of the icon button. * @type {number} * @default 20 */ iconButtonSize?: number; /** * The size of the icon. * @type {number} * @default 16 */ iconSize?: number; /** * The border radius of the icon button. * @type {number} * @default 7 */ iconButtonBorderRadius?: number; /** * Providing z-index for the options card. * @type {number} * @optional */ zIndex?: number; /** * Variant for backgroung color of options card. * @type {string} * @optional */ optionCardVariant?: 'primary' | 'default'; targetRef?: string | React.RefObject | null; treeRowRef?: React.RefObject; isAddResourceButton?: boolean; /** * to enable or disable the options card. * @type {boolean} * @optional */ disabled?: boolean; /** position of the Menuoption*/ alignOption?: 'left' | 'right' | 'center'; displayCard?: boolean; didMouseEntered?: () => void; tableMenu?: boolean; dropdownHeight?: number; selectedValue?: string; } declare const MenuOption: ({ labelName, iconName, tooltipTitle, tooltipPlacement, options, onClick, onOptionClick, iconButtonSize, iconButtonBorderRadius, iconSize, variant, zIndex, dropdownPlacement, optionCardVariant, targetRef, treeRowRef, isAddResourceButton, disabled, alignOption, displayCard, didMouseEntered, tableMenu, dropdownHeight, selectedValue, }: MenuOptionProps) => React$1.JSX.Element; interface DataProps$3 { /** * data for each row */ [key: string]: any; } interface SelectedItemProps$1 { /** * selected row object | All selected flag */ [key: string]: string | number | boolean; } type TableRef = LegacyRef | React__default.RefObject | LegacyRef | React__default.RefObject | null; interface TableProps$2 { /** * Data for table */ data: Array; /** * Column details for table */ columns: Array; /** * Header type to have different background color */ headerType: 'default' | 'primary' | 'secondary' | 'tertiary'; /** * withFixedHeader prop to have non-scrollable fixed table header */ withFixedHeader?: boolean; /** * borderWithRadius prop to have table with border 1px and borderRadius 5px */ borderWithRadius?: boolean; /** * Check box feature to select the row */ withCheckbox?: boolean; /** * Event for checkbox onClick */ onSelect?: (e: object, arg: SelectedItemProps$1) => void; /** * Check box feature to select the row */ allSelected?: boolean; /** * send true to show partial checkbox in the header */ partialSelected?: boolean; /** * send true to disable the checkbox in the header */ headerCheckboxDisabled?: boolean; /** * The content that to be displayed if no data not found */ noDataContent?: string | ReactNode; /** * Image that to be displayed if you don't have data */ noDataImage?: string; /** * Size of the image that to be displayed if you don't have data */ noDataImageSize?: 'x-large' | 'large' | 'medium' | 'small' | 'x-small'; /** * Height of the table in string */ height?: string; /** * classNames for the table container */ className?: string; /** * classNames for the table Header container */ tableHeadClass?: string; /** * classNames for the table Row container */ tableBodyRowClass?: string; /** * custom color for the column text */ headerTextColor?: 'default' | 'primary'; /** * custom color for the row text */ tableDataTextColor?: string; /** * icon for the table header, for expand or other purposes */ headerIconName?: string; /** * tooltip title for the table header icon */ headerIconTooltipTitle?: string; /** * handle function for the table header icon */ headerIconOnClick?: () => void; /** * Drag and Drop pass true to enable */ draggable?: boolean; /** * Drag and Drop indexes */ onDragEnd?: (startIndex: number, endIndex: number) => void | undefined; loadMore?: (_direction?: string) => void; /** * get the status of the accordion which is open or close */ getAccordionStatus?: Function; /** * content for the accordion */ accordionContent?: ReactNode; /** * enable editMode by setting state row id */ editMode?: string | number | null; /** * The content that to be displayed if editComponent */ editComponent?: ReactNode; /** * tableRef to get the scroll position & to pass control of table to parent component */ tableRef?: TableRef; /** * Explicitly handling the checkbox disability for the row. */ isRowCheckBoxDisable?: boolean; /** * Explicitly handling the disability for the row. */ isRowDisabled?: boolean; /** * z-index for the table header */ tableHeaderZindex?: number; freezeColumns?: number; displayCard?: boolean; selectedNode?: { key: string; selected: string | number; }; uniqueRowIdForAccordion?: string | number; openAccordionId?: string | number | null; } declare const Table: React$1.ForwardRefExoticComponent>; /** * Props for the Add Resource Button component. * * @property {string} [id] - An optional unique identifier for the Add Resource Button. * @property {('primary' | 'secondary')} [variant] - Optional button style variant. * @property {DirectionalArrow[]} directionalArrow - An array of directional arrows, each specifying the direction and associated menu options. Default values will be provided if not passed. * @property {number} [zIndex] - An optional z-index value for positioning, defaults to 99. */ interface AddResourceButtonProps { id?: string; variant?: 'primary' | 'secondary'; directionalArrow: { /** * direction option: 'top' | 'right' | 'down' */ direction: string; menuOptions: { label: string; value: string | string[]; icon?: string; disable?: boolean; tooltipForOption?: string; tooltipPlacementForOption?: 'top' | 'left' | 'right' | 'bottom' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | undefined; }[]; }[]; zIndex?: number; treeRowRef?: React.RefObject; menuOptionZIndex?: number; onMenuOptionClick?: (option: { label: string | ReactNode; value: any; }) => void; isFromTree?: boolean; } declare const AddResourceButton: ({ id, variant, directionalArrow, zIndex, menuOptionZIndex, treeRowRef, onMenuOptionClick, isFromTree, }: AddResourceButtonProps) => React$1.JSX.Element; type BaseStatus = 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'On Hold' | 'Descoped' | 'To be Validated' | 'To be Tested' | 'Terminated'; type CaseFlexible = StatusType | Lowercase | Uppercase | Capitalize>; type Status = CaseFlexible; type resultStats = { status: Status; percentage: number; count: number; }; type DonutChartProps = { radius: number; lineWidth: number; resultStats: resultStats[]; legendDetailsType: string; isLegendDetails: boolean; gapAngle?: number; totalCount: number; }; declare const DonutChart: React__default.FC; interface RadioOption { label: string; value: string; } type TooltipPosition = 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; interface FileDropzoneProps { /** * Icon to be displayed in the dropzone. **/ icon?: ReactNode; /** * Primary label to be shown in dropzone area **/ primaryLabel?: string; /** * Secondary label to be shown **/ secondaryLabel?: string; /** * Label to be shown in choose file/input button. **/ buttonLabel?: string; /** * . extension needs to be passed to allow the type of file to add or MIME type to be validate MIME type **/ accept: string[]; /** * To allow multiple selection or drop of files. **/ multiple?: boolean; /** * Maximum files to be dropped or selected at once. **/ maxFiles?: number; /** * Maximum size of the file in numbers. **/ maxSize?: number; /** * Function with state to get the boolean value when the maxFiles is less than dropped files. **/ onMaxFilesError?: () => void; /** * To show error message if file size exceeds the max size **/ maxSizeErrorMessage?: string; /** * To show error message if file is not of accepted file type **/ invalidFileMessage?: string; /** * To show error message if file already exist with same name and type **/ fileExistMessage?: string; /** * To validate file type based on MIME type but mandatorily need to pass MIME type in accept props **/ validateMIMEType?: boolean; width?: number | string; height?: number | string; /** * Returns the accepted files in the state **/ getAcceptedFiles?: (files: File[]) => void; /** * Returns the rejected files in the state **/ getRejectedFiles?: (files: FileRejection[]) => void; /** * If its used in WebService has some other functionality so need to pass boolean value. **/ isWebServiceFileDropZone?: boolean; /** * Its the selected radio option as a string. **/ selectedRadioOption?: RadioOption; /** * Its the array of radio options in pattern of : { label: string; value: string; }. **/ radioOptions?: RadioOption[]; /** * Its the function which updates the selected radio option. **/ handleOptionChange?: (option: RadioOption) => void; /** * Its the File Name of File Selected from Local File. **/ setSelectedFile?: (file: File | DynamicObj$1 | null) => void; /** * Its the File Name of File Selected from Local File. **/ selectedFile?: File | DynamicObj$1 | null; /** * Its the function which updates the Selected file from Local Directory. **/ handleFileChange?: (event: React.ChangeEvent) => void; /** * Its the function which makes the selected File empty state. **/ handleRemoveFile?: () => void; /** * When The Api for the response fails need to show error message. **/ isApiResponseError?: boolean; /** * If isDisable is true not able to access the FileDropzone **/ isDisable?: boolean; /** * Its the boolean value setted when the replace is clicked for TestData radio option . **/ setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void; /** * Its the File Name of File Selected from Local File. **/ setFileContent?: (data: string) => void; /** * Its the string value present inside the readable file. **/ fileContent?: string; isUploadIcon?: boolean; onUploadFile?: () => void; showNoFilesUploadedMessage?: boolean; noFileUploadedText?: string; /** * Its fileInputRef using inside fileDropZone. **/ fileInputRef?: RefObject; handleReplaceFile?: (file?: File | DynamicObj$1 | null) => void; /** * To Disable Remove Button. **/ isRemoveDisabled?: boolean; /** * To Disable Replace Button. **/ isReplaceDisabled?: boolean; showRejectedFileDetails?: boolean; disabledDragAndDrop?: boolean; tooltipPosition?: TooltipPosition; } interface FileError { message: string; code: string; } interface FileRejection { file: File; errors: FileError[]; } interface DropzoneOptions { accept: string[]; multiple?: boolean; maxSize?: number; maxFiles?: number | undefined; onDrop?: (acceptedFiles: File[], rejectedFiles: FileRejection[], event: React.DragEvent | React.ChangeEvent) => void; onMaxFilesError?: () => void; maxSizeErrorMessage?: string; invalidFileMessage?: string; fileExistMessage?: string; validateMIMEType?: boolean; isApiResponseError?: boolean; selectedFile?: File | DynamicObj$1 | null; setSelectedFile?: (file: File | DynamicObj$1 | null) => void; handleReplaceFile?: (file?: File | DynamicObj$1 | null) => void; showRejectedFileDetails?: boolean; disabledDragAndDrop?: boolean; } interface DropzoneState { getRootProps: () => React.HTMLAttributes; getInputProps: () => React.InputHTMLAttributes; acceptedFiles: File[]; rejectedFiles: FileRejection[]; isDragActive: boolean; handleRemoveClick: (file: File) => void; handleReplaceClick: (file: File) => void; } interface DroppableProps { icon: React.ReactNode; primaryLabel: string; secondaryLabel: string; buttonLabel: string; getRootProps: () => any; getInputProps: () => any; isDragActive: boolean; height: number | string; isWebServiceFileDropZone?: boolean; selectedRadioOption?: Option; radioOptions?: RadioOption[]; handleOptionChange?: (option: RadioOption) => void; selectedFile?: File | DynamicObj$1 | null; setSelectedFile?: (file: File | DynamicObj$1 | null) => void; handleFileChange?: (event: React.ChangeEvent) => void; handleRemoveFile?: () => void; isDisable?: boolean; setShowDrawer?: (value: boolean | ((prevState: boolean) => boolean)) => void; setFileContent?: (data: string) => void; fileContent?: string; } interface FilePreviewProps { file: File; error?: string; onRemoveClick: (file: File) => void; onReplaceClick: (file: File) => void; onUploadFile?: VoidFunction; isUploadIcon?: boolean; isRemoveDisabled?: boolean; isReplaceDisabled?: boolean; isError?: boolean; isIndependentPreview?: boolean; tooltipPosition?: TooltipPosition; } declare const FileDropzone: React.FC; declare const Dropzone: FC; declare const FilePreview: React.FC; type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme'; interface ThemeContextType { currentTheme: Theme; setCurrentTheme: React.Dispatch>; applyTheme: (newTheme: Theme) => void; } interface ThemeProviderProps { children?: ReactNode; theme?: Theme; } declare const ThemeProvider: React__default.FC; interface TypographyProps { /** * Font Weight */ fontWeight?: 'regular' | 'medium' | 'semi-bold' | 'bold'; /** * Font Size */ fontSize?: number | string; /** * Line height */ lineHeight?: string; /** * Color */ color?: string; /** * Text alignment */ textAlign?: 'left' | 'right' | 'center' | 'justify'; /** * For JSX elements */ as?: keyof JSX.IntrinsicElements; /** * htmlFor attribute for element=label, */ htmlFor?: string; /** * The content to display within the Typography component */ children: React__default.ReactNode; /** * To add styles in Typography */ className?: string; /** * To add letter spacing in Typography */ letterSpacing?: string; /** * To add onClick function */ onClick?: () => void; required?: boolean; style?: React__default.CSSProperties; cursor?: CSSProperties['cursor']; onDoubleClick?: () => void; [key: string]: any; } declare const Typography: React__default.FC; interface TruncatedTooltipProps { title: string; width: number; cursorType?: 'pointer' | 'default' | 'not-allowed'; } declare const TruncatedTooltip: React__default.FC; declare const useTheme: () => ThemeContextType; interface FormProps extends Form.UseFormProps { id?: string; onSubmit: Form.SubmitHandler; children: (methods: ReturnType> & { Form: typeof Form; }) => React__default.ReactNode; } declare const ForwardedForms: (props: FormProps & { ref?: React__default.Ref; }) => JSX.Element; interface Option$4 { label: string | ReactNode; value: string; } interface InputWithDropdownProps { /** * Name | name of the input field */ name: string; /** * Label | field label to be displayed */ label?: string; /** * value | input field value */ value?: string | number; type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time'; /** * variants to set color/style of the input field */ variant?: 'default' | 'primary'; /** * error | If true, error message will be displayed */ error?: boolean; /** * helperText | error, success, warning message to be shown */ helperText?: string; /** * to disable the input field */ disabled?: boolean; /** * if true, input field will be mandatory */ required?: boolean; /** * placeholder for the input field */ placeholder?: string; /** * classnames to style the input field */ className?: string; /** * Options for the select dropdown */ optionsList: Option$4[]; /** * Selected option for the select dropdown */ selectedOption?: Option$4; /** * onChange handler for input changes */ onInputChangeHandler?: (event: React.ChangeEvent) => void; /** * onChange handler for dropdown changes */ onDropdownChangeHandler?: (option: any) => void; /** * onInputBlurHandler action for input field */ onInputBlurHandler?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; onClick?: (event: React.MouseEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; /** * id to select the input field uniquely */ id?: string; /** * if on, suggestion popup will be displayed */ autoComplete?: 'on' | 'off'; /** * minimum and maximum values for the number type input field */ minValue?: number; maxValue?: number; /** * background of the input field prop */ isBackgroundTransparent?: boolean; /** * optionsRequired:false prop removes options from dropdown & shows static label only */ optionsRequired?: boolean; dropdownPosition?: 'left' | 'right'; leftDropDownPositionZindex?: number; rightDropDownPositionZindex?: number; onKeyDown?: (event: React.KeyboardEvent) => void; /** * pattern for input component */ pattern?: string; inputMode?: 'numeric'; /** * props for disableSelectHover */ disableSelectHover?: boolean; inputRefWithDropdown?: RefObject; autoFocus?: boolean; } declare const InputWithDropdown: React$1.ForwardRefExoticComponent>; /** * Props for the RadioButton component. */ interface RadioButtonProps { /** * The display label for the radio button. * Optional. */ label?: string | ReactElement; /** * The name attribute for the radio button, used for grouping. */ name: string; /** * The unique value of the radio button. * Optional. */ value?: string; /** * Indicates whether the radio button is checked. * Optional. */ checked?: boolean; /** * Callback function that is called when the radio button's value changes. * Receives the change event as an argument. * Optional. */ onChange?: (event: React.ChangeEvent) => void; /** * Indicates whether the radio button is disabled. * Optional. */ disabled?: boolean; /** * Indicates whether the radio button show the tooltip. * Optional. */ showTooltip?: boolean; /** * The content of the tooltip. * Optional. */ tooltipChildren?: React.ReactNode; /** * The content of the tooltip. * Optional. */ tooltipTitle?: React.ReactNode; /** * Additional CSS classes to be applied to the radio button. * Optional. */ tooltipPosition?: 'top' | 'bottom' | 'left' | 'right'; /** * Aligns the radio icon vertically centered with the label. * When true, applies `ff-radio-align-icon`. * Default is false. * Optional. */ alignIconCenter?: boolean; onBlur?: () => void; radioMarginTop?: string; } declare const RadioButton: React__default.FC; declare const RadioGroup: React__default.FC; interface ModalDimensions { width?: number; height?: number; borderRadius?: number; zIndex?: number; boxShadow?: string; left?: number; top?: number; padding?: number; right?: number; } type ModalPosition = 'bottom' | 'right' | 'top' | 'left' | 'down' | 'bottomLeft'; interface MiniEditModalProps { /** * A reference to the button element that triggers the modal. */ anchorRef?: RefObject | string; id?: string | number; /** * Optional properties for configuring the modal header. */ headerProps?: ReactNode; /** * The main content to be displayed inside the modal */ childContent: ReactNode; /** * Props for the cancel button inside the modal */ cancelButtonProps?: any; /** * Props for the proceed button inside the modal. */ proceedButtonProps?: any; /** * Optional content for the footer of the modal. */ footerContent?: ReactNode; /** * Determines if the modal should be wrapped inside a container element. */ isWrapped?: boolean; /** * Determines if the modal should have an animation when displayed. */ isAnimated?: boolean; /** * Specifies if the modal should behave as a popover with an arrow. */ isPopOver?: boolean; /** * Specifies if the modal should behave as a popover with an arrow. */ isIconModel?: boolean; /** * Sets the position of the modal relative to its anchor. * bottom: The modal appears below the anchor. * right: The modal appears to the right of the anchor. */ modalPosition?: ModalPosition; /** * Adds a top-left aligned arrow to the modal when its position is set to `'right'`. */ leftTopArrow?: boolean; /** * A reference to an additional anchor element for positioning the modal. */ firstAnchorRef?: RefObject; /** * A numeric value representing the left position of the anchor element, used to calculate the modal's left position. */ anchorRefLeftNum?: number; /** * Optional properties for configuring the modal's dimensions. * width: The width of the modal. * height: The height of the modal. */ modalProperties?: ModalDimensions; /**distance for the wrapper model from align alignments */ anchorLeftDistanceForWrapper?: number; /**extra top space added from anchor */ extraTopSpace?: { wrappedModal?: number; normalModal?: number; }; /**extra right space added from anchor */ extraRightSpace?: { leftTopArrow?: number; middleLeftArrow?: number; }; /**extra left space added from anchor */ extraLeftSpace?: { normal?: number; rightAlignModal?: number; }; wrapperProperties?: { height?: number; top?: number; width?: number; zIndex?: number; boxShadow?: string; }; arrowZIndex?: number; arrowProperties?: { right?: number; left?: number; top?: number; size?: number; }; overlay?: { isOverlay?: boolean; zIndexOverlay?: number; backgroundColorOverlay?: string; }; outSideClick?: any; ignoreRefs?: Array>; /** * When true, uses the new positioning logic (with actualModalPosition state). * When false (default), uses the old positioning logic. */ flip?: boolean; } declare const MiniModal: React$1.ForwardRefExoticComponent>; interface StreamUrls { Web?: string; Android?: string; iOS?: string; [platform: string]: string | undefined; } interface BrowserInfo { subType: string; type: string; osName: string; name: string; platform: string; version: string; fireflinkDeviceType: string | null; } interface DeviceInfo$1 { subType?: string; type?: string; osName?: string; name?: string; platform?: string; version?: string; fireflinkDeviceType?: string | null; [key: string]: any; } interface LiveExecutionStreamData { id: string; executionId: string; runId: string; scriptId: string; scriptName: string; runName: string; src?: string; currentScripts?: number; icon?: string; machineId: string; machineName: string; type: string; isRunning: boolean; access: string; currentPlatform: keyof StreamUrls; currentScript: number; totalScripts: number; streamUrls: StreamUrls; browserInfo: BrowserInfo | null; deviceInfo: DeviceInfo$1 | null; } interface OverviewModalProps { isOpen: boolean; isMaximized: boolean; width?: string; height?: string; header?: React.ReactNode; children?: React.ReactNode; icons?: React.ReactNode; downloadFileIcon?: boolean; onClose: () => void; onMaximizeToggle?: () => void; showHeader: boolean; top?: string; isIframe?: boolean; overlay?: boolean; downloadHandler: () => void; zIndex?: number; customStyle?: React.CSSProperties; multiData?: Array; setSelectedVideo?: (video: { currentVideoData?: { machineName?: string; scriptName?: string; icon?: string; src?: string; alt?: string; runId?: string; currentScripts?: number; totalScripts?: number; clickedAt?: number; }; allVideoData?: Array<{ machineName?: string; scriptName?: string; icon?: string; src?: string; alt?: string; runId?: string; currentScripts?: number; totalScripts?: number; }>; }) => void; } declare const OverviewModal: React__default.FC; type TreeNodeProps = { executionId?: string; runId?: string; clientId?: string; status?: string; resultPercentage?: Record; reRun?: boolean; reRunFailed?: boolean; results?: boolean; reports?: boolean; createdBy?: string; modifiedBy?: string; createdByUname?: string; modifiedByUname?: string; createdOn?: string; modifiedOn?: string; state?: string; path?: string; searchKey?: string; key: string; name?: string; projectId?: string; hierarchy: number; executionOrder?: number; conditionCount?: number; subContainerCount?: number; resourceCount?: number; totalSubContainerCount?: number; totalResourceCount?: number; totalProjectElementCount?: number; totalSharedElementCount?: number; container?: boolean; localDelete?: boolean; defaultEntity?: boolean; lastResource?: boolean; lastChild?: boolean; platform?: string; parentId?: string; parentName?: string; checked?: boolean | 'partial'; expanded?: boolean; expandable?: boolean; sourceId?: string; isNewNode?: boolean; entityType?: string; lastDefaultEntity?: string; type?: string; label?: string; isShared?: boolean | string; isRecorded?: string; originalId?: string; locatorsCount?: number; version?: string; hide?: boolean; folder?: boolean; selectedStatus?: 'completely' | 'partially' | 'none'; isDelete?: boolean; reviewerId?: string; reviewerName?: string; localCopyId?: string; localAutomationId?: string; localManualId?: string; cascaded?: string; automationId?: string; manualId?: string; unselectable?: boolean; description?: string; desc?: string; expandedAll?: boolean; hideResources?: boolean; hidePreOrPost?: boolean; isScript?: boolean; stepId?: string; conditionId?: string; machInstanceId?: string; machineInstanceId?: string; duration?: string; headless?: boolean; recordedVideoUrlId?: string; videoRecorderPath?: string; includeIteration?: boolean; totalConditionCount?: number; reRunStep?: boolean; liveURL?: string; isRunning?: boolean; deviceInfo?: { name?: string; brand?: string; platform?: string; version?: string; appName?: string; appId?: string; type?: string; subType?: string; }; }; interface NewNode$1 { sourceId?: string; payloadSourceId?: string; action?: 'addAbove' | 'addBelow' | 'addInside'; type?: 'input' | 'inputWithDropdown'; options?: []; selectedOption?: string; value?: string; error?: string; label?: string; confirmIconTooltip?: string; cancelIconTooltip?: string; } declare type JSX$2 = ReactNode | JSX$2.Element[] | string | null; type RootNode$1 = { node: any; select: 'radio' | 'checkbox' | 'none'; cell?: (row: any) => JSX$2; actions?: (row: any, treeRowRef?: React.RefObject) => JSX$2; }; interface Column$1 { name: string | JSX$2; accessor: string; width: string; isClickable?: boolean; cell?: (row: any) => JSX$2; actions?: (row: any, treeRowRef?: React.RefObject) => JSX$2; isTree?: boolean; defaultValue?: string; defaultActions?: () => JSX$2; } interface TreeTableProps$1 { treeData: any; columnsData: Column$1[]; selected?: string[]; select?: 'radio' | 'checkbox' | 'none'; onChange?: (e: any, node: string[] | any) => void; onClick?: (e: React.MouseEvent, row: TreeNodeProps) => void; onExpand?: (node: TreeNodeProps) => void; loadMore?: (_direction?: string) => void; tableBorder?: string; height?: number | string; newNode?: NewNode$1; onAddConfirm?: (_name: string, _type?: Option$3) => void; onAddCancel?: () => void; loading?: boolean; rootNode?: RootNode$1; getContentLength?: number; handleEditFieldError?: (inputText: string) => string; pagination?: boolean; selectedNode?: string; tableHeaderBgColor?: string; hideOnDisable?: boolean; freezeColumns?: number; scriptLengthTruncate?: number; addModuleInputWidth?: number; addModuleSelectWidth?: number; onScroll?: () => void; disableEditLabelConfirmIcon?: boolean; transparentHeader?: boolean; } type OptionValue$2 = any; interface Option$3 { [key: string]: OptionValue$2; } declare const TreeTable: React__default.ForwardRefExoticComponent>; interface TabsProps$1 { /** * An array of tab objects containing label, component, and optional disabled status. */ tabsData: { id: string; label: string; icon?: string; component?: JSX.Element; disabled?: boolean; count?: number | string; status?: 'success' | 'error' | 'transparent'; }[]; /** * Defines the styling variant of the tabs. */ variant?: 'default' | 'capsule'; /** * activeTabId : The ID of the currently active tab. */ activeTabId: string; /** * onTabClick : function updates the active tab state when a user interacts with the tabs, */ onTabClick: (id: string) => void; /** * noBorder:true , removes the outer border from tabs */ noBorder?: boolean; noPadding?: boolean; /** * titleSize is to accpect dynamic font size */ titleSize?: number | string; /** * to add borderBottom line */ isBorderBottomLine?: boolean; /** * to change background on hover */ isHoverBackground?: boolean; /** * to add border-radius to tabs */ isBorderRadius?: boolean; /** * tabFlexSpacing : Defines the flex spacing for the tab row. */ tabFlexSpacing?: 'space-between' | 'space-around' | 'flex-start' | 'flex-end' | 'center'; /** * Tab heading element type for accessibility */ tabHeadEleType?: keyof JSX.IntrinsicElements; } declare const Tabs: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, isBorderBottomLine, isHoverBackground, isBorderRadius, tabFlexSpacing, tabHeadEleType, }: TabsProps$1) => React$1.JSX.Element; /** * Represents a single tab in the BrowserTabs component. */ interface BrowserTab { /** * Unique identifier for the tab. */ id: string; /** * Label text displayed on the tab. */ label: string; /** * Optional component to be rendered when the tab is active. */ component?: JSX.Element; /** * Name of the tab icon. */ tabIcon?: string; /** * Optional URL for a dynamic icon. */ tabIconSrc?: string; } /** * Props for the BrowserTabs component. */ interface BrowserTabsProps { /** * An array of tab objects containing label, icon, and an optional component. */ tabsData: BrowserTab[]; /** * The ID of the currently active tab. */ activeTabId: string; /** * Function to update the active tab state when a user clicks on a tab. * @param id - The unique identifier of the clicked tab. */ onTabClick: (id: string) => void; /** * Function to add a new tab. */ onTabAdd?: () => void; /** * Function to close a specific tab. * @param index - The index of the tab to be closed. */ onTabClose?: (id: string) => void; /** * Minimum width for each tab (in pixels). */ minTabWidth?: number; /** * Maximum width for each tab (in pixels). */ maxTabWidth?: number; /** * Show the close button only for the active tab. */ showCloseOnActive?: boolean; /** * Custom CSS class name to override default styles. */ className?: string; enableOverflowTooltip?: boolean; onTabMouseEnter?: any; onTabMouseLeave?: any; /** * Maximum number of tabs allowed. */ maxTabs?: number; } declare const BrowserTabs: ({ tabsData, activeTabId, onTabClick, onTabClose, onTabAdd, maxTabWidth, showCloseOnActive, maxTabs, enableOverflowTooltip, onTabMouseEnter, onTabMouseLeave, }: BrowserTabsProps) => React$1.JSX.Element; /** A styled part of the text, e.g. a variable inside a step name */ interface HighlightTextPart { text: string; /** * Needs the same contrast as `color` on the row. Colour alone must not tell * kinds of parts apart (WCAG 1.4.1): a tooltip can say what the part is. */ color?: string; fontWeight?: CSSProperties['fontWeight']; /** * Shown on hover over this part only. Text or JSX, as for `tooltip` below. * A line break (`\n`) in text starts a new line, e.g. for an element's name * and type; prefer that over JSX in long lists, since JSX tooltips render a * hidden copy in every row. */ tooltip?: string | ReactElement; } /** Plain text, or a styled part */ type HighlightTextSegment = string | HighlightTextPart; interface HighlightTextProps { text?: string; /** * Use instead of `text` when parts need their own colour or tooltip. * Search highlighting runs on the joined text, so a match can span parts. */ segments?: HighlightTextSegment[]; highlight?: String; onlyExactMatch?: boolean; /** * Text colour: any CSS colour value or variable, e.g. `var(--brand-color)`. * WCAG 1.4.6 (AAA) needs 7:1 contrast with the background (4.5:1 for large * text), also against the search highlight. */ color?: string; fontWeight?: CSSProperties['fontWeight']; /** * Shown on hover or keyboard focus, through the global TooltipService. The * text takes focus for it, except inside another control (e.g. a button), * which should then carry the tooltip itself. Escape hides it. JSX is copied * into the tooltip as HTML, so it is static: event handlers inside it do not * run. */ tooltip?: string | ReactElement; /** * Keep to one line and end with an ellipsis when it does not fit. The full * text shows on hover or focus, only while it is cut off (unless `tooltip` * is set); the row takes focus only then. */ truncate?: boolean; } declare const MemoizedHighlightText: React$1.MemoExoticComponent<({ text, segments, highlight, onlyExactMatch, color, fontWeight, tooltip, truncate, }: HighlightTextProps) => React$1.JSX.Element>; interface CheckboxProps { /** * Unique ID for the checkbox input */ id?: string; /** * Name attribute for the checkbox input */ name?: string; /** * Optional side label */ label?: string | ReactNode; /** * Optional disable attribute */ disabled?: boolean; /** * Optional checked attribute to prefill */ checked?: boolean; /** * Optional onChange function */ onChange?: (event: React.ChangeEvent) => void; /** * For partially checked checkbox */ partial?: boolean; /** * For variant color */ variant?: 'passed' | 'failed' | 'warning' | 'skipped' | 'flaky'; /** * For default hover */ isDefaultHover?: boolean; /** * For label font size */ labelFontSize?: number; isWideGap?: boolean; } declare const Checkbox: React__default.FC; interface SearchProps { /** * Placeholder for the input field */ placeholder?: string; /** * Callback function to be called when the search button is clicked or enter key is pressed */ onSearch: (query: string) => void; /** * Additional styles for the button */ disabled?: boolean; width?: number; value: string; isExpand: boolean; onClose: () => void; onExpand: (isExpand: boolean) => void; showClose?: boolean; helperText?: string; showToaster?: boolean; minLength?: number; isAISearch?: boolean; isAISearchClicked?: boolean; handleActiveAiSearch?: () => void; isClear?: boolean; handleIsClear?: () => void; style?: React.CSSProperties; handleFocus?: () => void; handleBlur?: () => void; } declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, showClose, helperText, showToaster, minLength, isAISearch, isAISearchClicked, handleActiveAiSearch, isClear, handleIsClear, style, handleFocus, handleBlur, }: SearchProps) => React$1.JSX.Element; interface DatePickerProps { /** * The minimum selectable date. */ minDate?: DateValue; /** * The maximum selectable date. */ maxDate?: DateValue; /** * Selected date value. */ value?: DateValue; /** * Function to handle date selection. */ onChange: (value: DateValue, formatted?: string) => void; /** * Placeholder text for the input field. */ placeholder?: string; /** * Disables the date picker. */ disabled?: boolean; /** * Format for displaying the selected date. Default is 'EEEE, dd MMM yyyy'. */ dateFormat?: string; /** * Format for displaying the selected time. Default is 'hh:mm a'. */ timeFormat?: string; /** * Timezone for the date picker. */ timezone?: string; /** * Custom width for the calendar. This will override the default width of the calendar. */ calendarWidth?: number; /** * When true, displays the input field error. */ error?: boolean; /** * Helper text to display below the input field, used for error messages or instructions. */ helperText?: string | undefined; /** * Select only date . */ dateOnly?: boolean; className?: string; zIndex?: number; /** * Default: false, if true, displayed with border radius and color required for the filter date picker. */ isFilterDatePicker?: boolean; /** * The selected date don't want to be deselected . */ isSelectableDate?: boolean; /** * Function to handle onBlur for datepicker. */ onBlur?: (date: DateValue) => void; /** * Default:False,if true, the date picker will not apply any date formatting. */ withOutDateFormat?: boolean; } type DateValue = Date | undefined; declare const CustomDatePicker: React__default.ForwardRefExoticComponent>; interface StateDropdownProps { value: string; isReviewer: boolean; isApprovePage: boolean; handleDropdownOptionsClick: (option: Option$5) => void; disabled: boolean; isOnlyReviewer: boolean; handleStateValueClick: () => void; showBorder?: boolean; zIndex?: number; } declare const StateDropdown: ({ value, isReviewer, isApprovePage, handleStateValueClick, handleDropdownOptionsClick, disabled, isOnlyReviewer, showBorder, zIndex, }: StateDropdownProps) => React$1.JSX.Element; interface IconButtonProps { label: string; iconName?: string; onClick?: (event: React.MouseEvent) => void; ref?: React.Ref; iconHide?: boolean; isDisable?: boolean; variant?: 'default' | 'primary'; type?: 'button' | 'submit' | 'reset'; } declare const IconButton: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; interface ModalProps { isOpen: boolean; onClose: () => void; /*** label value for aria-label */ contentLabel?: string; /*** default header will be provided with title and close icon. */ isHeaderDisplayed: boolean; /*** Title to be displayed in the header when defaultHeader is true*/ headerTitle?: string; /*** Custom class names for the modal content */ contentClassName?: string; /*** Custom class name for the overlay */ overlayClassName?: string; /*** Whether the modal should close when the 'Escape' key is pressed */ shouldCloseOnEsc?: boolean; /*** Whether to hide the app from screen readers when the modal is open */ ariaHideApp?: boolean; /*** Whether the modal should close when clicking outside of it (on the overlay) */ shouldCloseOnOverlayClick?: boolean; headerContent?: string | ReactNode; footerContent?: ReactNode; /***Content to be displayed inside the modal */ children: ReactNode; isFooterDisplayed: boolean; customWidth?: string; customHeight?: string; zIndex?: number; boxShadow?: string; border?: string; background?: string; ref?: Ref; style?: React.CSSProperties; } declare const Modal: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; declare const DragAndDrop: { DNDCore: typeof DNDCore; DNDSortable: typeof DNDSortable; DNDUtilities: typeof DNDUtilities; DNDModifiers: typeof DNDModifiers; }; interface VariableInputProps { /** * Name | name of the input field */ name: string; /** * Label | field label to be displayed */ label: string; /** * value | input field value */ value: string | null; /** * type to set color/style of the input field */ type: 'text' | 'password' | 'number' | 'email' | 'url' | 'time'; /** * error | If true, error message will be displayed */ error?: boolean; /** * to disable the input field */ disabled?: boolean; /** * if true, input field will be mandatory */ required?: boolean; /** * placeholder for the input field */ placeholder?: string; /** * classnames to style the input field */ className?: string; /** * onChange, onKeyDown, onBlur, onFocus actions */ onChange?: (value: string) => void | undefined; onKeyDown?: (event: React.KeyboardEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; /** * id to select the input field uniquely */ id?: string; /** * list of variables */ list?: string[]; } declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => React__default.JSX.Element; interface optionsType$1 { label: string; value: string; iconName?: string; platform?: string; appType?: string; } interface AllProjectsDropdownProps { options: optionsType$1[]; onMenuClick?: () => void; onClick: (_option: optionsType$1) => void; selectedOption: optionsType$1; selected?: boolean; placeholder?: string; disabled?: boolean; showIcons?: boolean; } declare const AllProjectsDropdown: ({ onClick, onMenuClick, options, selectedOption, selected, placeholder, disabled, showIcons, }: AllProjectsDropdownProps) => React$1.JSX.Element; interface PieChartProps { radius: number; data: Array<{ label: string; value: number | string; }>; colors: string[]; chartBorder: boolean; } declare const PieChart: React__default.FC; interface ClientProjectOptionsRect { top: number; right: number; bottom: number; left: number; width: number; height: number; } interface ClientProjectOptionsChangePayload { isOpen: boolean; rect?: ClientProjectOptionsRect; selected?: boolean; } interface ClientMoreMenuPayload { rect?: ClientProjectOptionsRect; options: { label: string; value?: string; icon?: string; }[]; } interface AppHeaderProps { isClientMoreMenuOpen?: boolean; onClientMoreMenuClick?: (_payload: ClientMoreMenuPayload) => void; onClientMoreMenuChange?: (_payload: ClientMoreMenuPayload) => void; scriptId?: string | undefined | null; width?: string; borderRadius?: string; logo: ReactNode; leftContent?: ReactNode; rightContent?: ReactNode; projectsList?: optionsType$1[]; licenseList?: optionsType$1[]; showLicenseMenu?: boolean; appHeaderMenuItems: appHeaderMenuItemProps[]; appHeaderHiddenMenuItems?: appHeaderMenuItemProps[]; selectedMenu: string; selectedSubMenu?: string; selectedQuickMenu?: string; selectedProject?: optionsType$1; selectedLicense?: optionsType$1 | null; onMenuClick?: (_text: any) => void; onSubMenuClick?: (_text: any) => void; onQuickMenuClick?: (_text: any) => void; onProjectMenuClick?: (_text: any) => void; onProjectDropdownLabelClick?: () => void; onClientProjectOptionsChange?: (_payload: ClientProjectOptionsChangePayload) => void; onLicenseMenuClick?: (_text: any) => void; onMoreMenuOptionClick?: (_text: any, _callback: () => void) => void; disabled?: boolean; isClient?: boolean; hideNavbar?: boolean; centerInfoItems?: { iconName: string; label: string; iconColor?: string; }[]; rightButtons?: { label: string; iconName?: string; color?: string; backgroundColor?: string; onClick?: () => void; }[]; profileContent?: ReactNode; } interface appHeaderMenuItemProps { iconName?: string; label: string; path?: string; disable?: boolean; disableText?: string; hide?: boolean; access?: string; isReviewer?: boolean; entityPendingCounts?: { [key: string]: number; }; subMenuItems?: appHeaderSubMenuItemProps[]; } interface appHeaderSubMenuItemProps { label: string; path?: string; disable?: boolean; disableText?: string; hide?: boolean; quickMenuItems?: appHeaderQuickMenuItemProps[]; hiddenMenuItems?: appHeaderHiddenMenuItemProps[]; } interface appHeaderQuickMenuItemProps { label: string; path: string; iconName: string; disable?: boolean; disableText?: string; hide?: boolean; } interface appHeaderHiddenMenuItemProps { label: string; value?: string | string[]; icon?: string; disable?: boolean; disableText?: string; hide?: boolean; path?: string; iconName?: string; } declare const AppHeader: React__default.FC; interface PaperProps { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ className?: string; /** * If `true`, rounded corners are Enabled. * @default false */ rounded?: boolean; } declare const Paper: ({ children, className, rounded }: PaperProps) => React$1.JSX.Element; type ChartItem = { key: string; value: string | number; color?: string; percentage?: string | number; version?: number[] | string[]; versionColor?: string[]; osIcon?: string; }; type LegendType$1 = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend'; type DashboardDonutChartProps = { radius: number; lineWidth: number; statusValues: ChartItem[]; legendDetailsType: string; isLegendDetails: boolean; gapAngle?: number; legendType: LegendType$1; apiDataLabel?: string | number; showOnlyLabel?: boolean; unit?: string; showUnit?: boolean; labelFontSize?: number; subLabelFontSize?: number; legendPosition?: 'bottom' | 'right' | 'left'; chartGap?: number; legendGap?: number; tableWidth?: number; tableHeight?: number; legendValueFontSize?: number; legendKeyFontSize?: number; legendWithVersionFontSize?: number; versionErrorText?: string; labelYoffSet?: number; subLabelYoffSet?: number; capsuleStyle?: {}; legendTruncate?: number; isLegendToolTip?: boolean; containerHeight?: number | string; onSelectedStatus?: (value: string, originalIndex: number, data: Record) => void; selectedStatusKey?: string; setSelectedStatusKey?: (_selectedStatusKey: string) => void; isOnClick?: boolean; zIndex?: number; tableLegendHeaderName?: string; }; declare const DashboardDonutChart: React__default.FC; type FixedReCAPTCHA = React.ComponentType<{ sitekey: string; onChange: (token: string | null) => void; className?: string; theme?: 'light' | 'dark'; size?: 'compact' | 'normal' | 'invisible'; tabindex?: number; badge?: 'bottomright' | 'bottomleft' | 'inline'; }>; interface RecaptchaProps extends Omit, 'onChange'> { /** * Callback function that receives the verification token */ onVerify: (token: string | null) => void; /** * Optional CSS class name */ className?: string; /** * Optional error message to display */ error?: string | null; /** * reCAPTCHA site key */ sitekey: string; } declare const Recaptcha: React__default.ForwardRefExoticComponent>; interface NlpChip { name: string; isSelected: boolean; } interface SelectProps { label?: string; rightIcon?: string; leftIcon?: string; showLabel?: boolean; onHelpIconClick?: () => void; webServiceClick?: () => void; accessibilityClick?: () => void; aiIconClick?: () => void; rightIconColor: string; optionsList: any[]; selectedOption?: NlpRenderOption; containerWidth?: string | number; onChange: (option: React.ChangeEvent) => void; errorMsg?: string; className?: string; optionZIndex?: number; disabled?: boolean; borderRadius?: boolean; showBorder?: boolean; required?: boolean; value: string; onSelect: (e: any) => void; chipOptionList?: NlpChip[]; selectedChips?: any; loadMoreOptions?: () => void; isWebservice?: boolean; isAccessibility?: boolean; closeInputOnOutsideClick?: () => void; tooltipText?: string; ChipsAccordionWidth?: string; dropDownMessage?: string; } interface NlpRenderOption { displayName: string | ReactNode; projectId: string; nlpType: string; platform: string; workbenchType?: string; disabled?: boolean; videoSrc?: string; nlpName?: string; name?: string; } declare const NlpInput: ({ label, leftIcon, rightIcon, rightIconColor, showLabel, onHelpIconClick, aiIconClick, webServiceClick, accessibilityClick, containerWidth, optionsList, selectedOption, onChange, errorMsg, className, optionZIndex, disabled, borderRadius, showBorder, required, value, onSelect, chipOptionList, selectedChips, loadMoreOptions, isWebservice, isAccessibility, closeInputOnOutsideClick, tooltipText, ChipsAccordionWidth, dropDownMessage, }: SelectProps) => React$1.JSX.Element; interface IconRadioItem { /** * The unique name for the icon, used to load the corresponding icon. */ iconName: string; /** * The display label for the icon. This can be used for accessibility purposes. */ iconLabel: string; /** * Flag to determine if the icon option is disabled. */ disabled?: boolean; /** * Message to display when the option is disabled. */ disableMessage?: string; } interface IconRadioGroupProps { /** * Array of icon items that make up the radio button group. */ items: IconRadioItem[]; /** * Callback function called when a button/icon is clicked. * It returns the selected item. */ onButtonClick: (selectedItem: IconRadioItem) => void; /** * The currently selected icon value */ selectedValue?: string | null; /** * Callback function to notify parent of selection change. */ onChange?: (selected: string | null) => void; /** * Optional className for custom styling */ className?: string; } declare const IconRadioGroup: React__default.FC; interface MachineType { type: string; label: string; version?: string; available?: boolean | string; } interface MachineInputFieldProps { width?: string; options: MachineType[]; runCount: number; className?: string; contentReverse?: boolean; onClick?: () => void; modalId?: string; trucatedLable?: boolean; scriptType?: string; readOnly?: boolean; isMissing?: boolean; } declare const MachineInputField: { ({ width, options, runCount, className, contentReverse, onClick, modalId, scriptType, readOnly, isMissing, }: MachineInputFieldProps): React$1.JSX.Element; displayName: string; }; type EnvironmentVariableMaps = { testDataSetMap: Record; globalVariableMap: Record; projectVariableMap: Record; }; interface SequentialConnectingBranchProps { machineInstances: ExecutionContext[] | {}[]; machineColumnWidth?: number; machineColumnCount?: number; selectedMachine?: Option$5; machineOptionsList?: Option$5[]; multiChannelProp?: string[]; onHandleSelect?: (option: Option$5) => void; onAddBrowserInstance?: (modalId: string) => void; onUpdateAddBrowserInstance?: (modalId: string, machineInstance: ExecutionContext) => void; onDeleteBrowserInstance?: (id: string, runCount: number) => void; onAddRunBrowserInstance?: (machineInstanceId: string) => void; onDeleteMachineInstance?: () => void; onUpdateDataSetList?: (id: string, dataSetObject?: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void; dataSetValues?: dataSetValues; addInstanceLabel?: string; scriptType?: string; projectType?: string; readOnly?: boolean; integrationInstance?: IntegrationInstance; zIndex?: number; placeholder?: string; maxRunCount?: number; environmentVariableMaps?: EnvironmentVariableMaps; isRequired?: boolean; showIcon?: boolean; } interface IntegrationInstance { usename: string; accessKey: string; } interface MachineInfo { osName: string; osVersion: string; hostName: string; iconName: string; isBooked?: boolean; } interface DeviceInfo { name: string; platform: string; version?: string; available?: boolean | string; } interface ExecutionContext { machineInstanceId: string; clientId: string; numberOfRuns: number; runCount: number; executionEnv?: 'Local' | string; browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome' | 'comet'; browserVersion: string; systemUrl: string; machineInfo: MachineInfo; deviceInfo: DeviceInfo[]; headless: boolean; peVariableSetId: string; testDataSetName: string; globalVariableSetName: string; peVariableSetName: string; globalVariableSetId: string; testDataSetId: string; integrationInstance: IntegrationInstance; fireCloudProjectName?: string; } interface dataSetValues { peVariableSetId: string; globalVariableSetId: string; testDataSetId: string; testDataSetName: string; globalVariableSetName: string; peVariableSetName: string; } declare const SequentialConnectingBranch: FC; interface AttachmentUploaderProps { label: string; selectedFiles: File[]; onFilesChange: (files: File[], selectedFile?: File[], changeType?: 'ADD' | 'DELETE') => void; disabled?: boolean; maxFileSizeMB?: number; maxFiles?: number; buttonLabel?: string; showSelectedFiles?: boolean; buttonVariant?: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning'; deleteButton: boolean; addAttachmentButton: boolean; accept?: string[]; onFileListClick?: (event: React.MouseEvent) => void; types?: string[]; iconName?: string; buttonDisplayType?: 'attachment' | 'icon'; isInfoIconRequired?: boolean; multiple?: boolean; attachmentInfoTooltip?: string; selectedFileMessage?: string; required?: boolean; errorMessage?: string; onBlur?: (event?: React.FocusEvent) => void; truncateMaxLimit?: number; onClickAttachmentButton?: Function; } declare const AttachmentButton: React__default.FC; type AcceptedType = string | (() => void) | Record | unknown[]; declare const Toastify: () => React$1.JSX.Element; declare const toast: { success: (arg1: AcceptedType, arg2?: AcceptedType) => void; error: (arg1: AcceptedType, arg2?: AcceptedType) => void; warning: (arg1: AcceptedType, arg2?: AcceptedType) => void; info: (arg1: AcceptedType, arg2?: AcceptedType) => void; alert: (arg1: AcceptedType, arg2?: AcceptedType) => void; }; interface ToggleSwitchProps { firstButton: string; secondButton: string; handleClick: (selected: string) => void; selected: string; } declare const ToggleSwitch: React__default.FC; interface AvatarProps { /** * This property determines the size of the avatar. It can be set to 'small', 'medium', or 'large'. */ variant?: 'small' | 'medium' | 'large'; /** * This property allows you to customize the background color of the avatar. */ backgroundColor?: string; /** * This property specifies the name of the icon to be displayed within the avatar. */ iconName?: string; /** * This property allows you to customize the color of the icon within the avatar. */ iconColor?: string; /** * This property allows you to set a custom size for the avatar, overriding the default size specified by the variant property. */ customAvatarSize?: number; /** * This property allows you to set a custom size for the icon within the avatar. */ customIconSize?: number; /** * This property specifies the label to display inside the avatar, used as an alternative to the icon. */ label?: string; /** * This property allows you to customize the font size of the label inside the avatar. */ labelFontSize?: string; } declare const Avatar: React__default.FC; interface LineLoaderProps { logo?: React__default.FC; overlay?: boolean; } declare const LineLoader: React__default.FC; interface ContentCardProps { contentHeader: string; data: Record; maxHeight?: string; } declare const ContentCard: FC; type WeightageColumnLabels = { principle: React__default.ReactNode; guidelines: React__default.ReactNode; weightage: React__default.ReactNode; }; interface WeightageRow { /** * Label for the guideline row, e.g. "1.1 - Text alternative" */ label: string; /** * Weightage value in % for this row */ value: number; /** * Unique key for the row, falls back to label if not provided */ key?: string; /** * Disable the input for this row */ disabled?: boolean; /** * Minimum allowed value for this row's input (passed to Input's minValue) */ minValue?: number; /** * Maximum allowed value for this row's input (capped at 100) */ maxValue?: number; /** * Error state for this row's input, controlled internally unless passed in */ error?: boolean; /** * Helper text for this row's input, controlled internally unless passed in */ helperText?: string; } interface WeightageGroup { /** * Principle / group label, e.g. "1. Perceivable" */ principle: string; /** * Unique key for the group, falls back to principle if not provided */ key?: string; /** * Guideline rows belonging to this principle */ guidelines: WeightageRow[]; } interface WeightageCellRenderProps { group: WeightageGroup; row: WeightageRow; groupIndex: number; rowIndex: number; rowKey: string; minValue: number; maxValue: number; disabled: boolean; inputWidth?: React__default.CSSProperties['width']; inputProps: { id: string; name: string; 'aria-label': string; 'aria-describedby'?: string; 'aria-errormessage'?: string; 'aria-invalid'?: boolean; onWheel?: (e: React__default.WheelEvent) => void; }; onChange: (updatedRow: WeightageRow) => void; } interface WeightageTableProps { /** * Title shown on the left side of the header bar */ title?: React__default.ReactNode; /** * Total weightage value shown on the right side of the header bar, e.g. 100. * If not passed, it is auto-computed as the sum of all row values. */ totalWeightage?: number; /** * Max possible weightage retained for backward compatibility. * Use minValue/maxValue for default input validation. */ maxWeightage?: number; /** * Column heading for the principle column */ principleColumnLabel?: React__default.ReactNode; /** * Column heading for the guidelines column */ guidelinesColumnLabel?: React__default.ReactNode; /** * Column heading for the weightage column */ weightageColumnLabel?: React__default.ReactNode; /** * Preferred API for overriding column labels in one place. * Individual label props are still supported for backward compatibility. */ columnLabels?: Partial; /** * Data for the table body, grouped by principle. This component is controlled — * the parent owns this array and updates it inside onWeightageChange. */ groups: WeightageGroup[]; /** * Called whenever a single row's value changes. Only that row's data is passed back — * use groupIndex/rowIndex to update just that one row in your state. */ onWeightageChange?: (groupIndex: number, rowIndex: number, updatedRow: WeightageRow) => void; /** * Optional custom renderer for the weightage cell. * If omitted, the component renders its default number Input. */ renderWeightageCell?: (props: WeightageCellRenderProps) => React__default.ReactNode; /** * Width of the default weightage Input, e.g. "70px", "12%", or 70. */ weightageInputWidth?: React__default.CSSProperties['width']; /** * Called when the refresh/reset icon in the header is clicked */ onReset?: () => void; /** * Show or hide the refresh/reset icon in the header */ showResetIcon?: boolean; /** * Enables the reset icon when true. Defaults to true for backward compatibility. * Pass false when current values match defaults ("No changes to reset"). */ isResetEnabled?: boolean; /** * Tooltip shown when reset is enabled */ resetEnabledTooltip?: string; /** * Tooltip shown when reset is disabled */ resetDisabledTooltip?: string; /** * Called when the user tries to increase weightage but the table total * has already reached maxWeightage / maxValue (e.g. spinner/arrow at limit). */ onMaxWeightageReached?: () => void; /** * Makes all weightage inputs disabled/read-only */ disabled?: boolean; /** * Default minValue applied to every row's Input unless the row overrides it */ minValue?: number; /** * Default maxValue applied to every row's Input unless the row overrides it. * Values above 100 are capped at 100. */ maxValue?: number; /** * When true (default), prevents increasing any row's weightage input upward if the total weightage * has reached or would exceed maxValue / maxWeightage. */ disableUpwardIncreaseOnMax?: boolean; /** * Enables expand/collapse behavior for the table content. */ isAccordion?: boolean; /** * Initial expanded state when accordion behavior is enabled. */ defaultExpanded?: boolean; /** * To add styles in WeightageTable */ className?: string; style?: React__default.CSSProperties; [key: string]: any; } declare const WeightageTable: React__default.FC; interface ProcessedFile { id: string; name: string; actualPath: string; parentId?: string; state?: string; status?: string; } interface ProcessedJiraInstance { _id: string; instanceName: string; } interface ProcessedFigmaPage { _id: string; name: string; } interface ProcessedFigmaInstance { _id: string; name: string; pageData?: (ProcessedFigmaPage | string)[]; createdOn?: string; instanceName?: string; } interface SelectedOption { label: any; value: string; } interface ProcessedSourceSelection { sourceType: 'file' | 'jira' | 'figma' | null; selectedFile: ProcessedFile | null; selectedJiraInstance: ProcessedJiraInstance | null; selectedJiraTickets: SelectedOption[]; selectedFigmaInstance?: ProcessedFigmaInstance | null; selectedFigmaPages?: SelectedOption[]; } interface ProcessedSourceSelectorProps { type?: 'file' | 'jira' | 'figma'; onChange: (selection: ProcessedSourceSelection) => void; selectedFile?: ProcessedFile | null; selectedJiraInstance?: ProcessedJiraInstance | null; selectedJiraTickets?: SelectedOption[]; selectedFigmaInstance?: ProcessedFigmaInstance | null; selectedFigmaPages?: SelectedOption[]; processedFiles?: ProcessedFile[]; jiraInstances?: ProcessedJiraInstance[]; jiraTickets?: string[]; figmaInstances?: ProcessedFigmaInstance[]; ticketLimit?: number; tooltip?: string | ReactNode; dropdownPlacement?: 'top' | 'bottom' | 'auto'; onSearch?: (searchText: string) => void; loadMoreOptions?: () => void; } declare const ProcessedSourceSelector: FC; interface IconProps$1 { /** Name of the icon to be displayed. */ name: string; /** Optional click handler function for the icon. */ onClick?: () => void; } interface DropdownOption$1 { /** Unique identifier for the dropdown option. */ id: number; /** Value associated with the dropdown option. */ value: string; /** Label displayed for the dropdown option. */ label: string; } interface LabelEditTextFieldTypes$1 { /** Label text displayed above the input field. */ label?: string; /** Initial text displayed in the input field. */ text?: string; showText?: boolean; /** Text to be highlighted within the displayed text, if provided. */ highlightText?: string; /** Custom error message to be displayed, if applicable. */ customError?: string; /** Confirm icon properties including icon name and click handler. */ confirmIcon?: IconProps$1; /** Cancel icon properties including icon name and click handler. */ cancelIcon?: IconProps$1; /** Type of input field - standard text field or text field with a dropdown. */ variant?: 'textFieldWithDropdown' | 'textField'; /** Array of dropdown options used if the dropdown variant is selected. */ dropdownData?: DropdownOption$1[]; /** Width of the input field component. */ width?: string; /** Height of the input field component. */ height?: string; /** Function called when confirming input changes, with input and dropdown values as arguments. */ confirmAction?: (inputValue: string, dropdownValue: string) => void; isOpen?: boolean; /**for conditionally handle custom error */ customErrorCondition?: boolean; placeholder?: string; onClick?: () => void; /** Function called when every input character got changed */ onInputChange?: (newInputValue: string) => void; className?: string; tooltip?: { tooltipTitle?: string; tooltipPlacement?: string; }; onDoubleClick?: () => void; disableEditing?: boolean; } declare const LabelEditTextField: FC; interface IconProps { /** Name of the icon to be displayed. */ name: string; /** Optional click handler function for the icon. */ onClick?: () => void; /** Optional color for the icon. */ color?: string; /** Optional height for the icon. */ height?: number; /** Optional width for the icon. */ width?: number; /** Optional className for the icon. */ className?: string; } interface DropdownOption { /** Unique identifier for the dropdown option. */ id: number; /** Value associated with the dropdown option. */ value: string; /** Label displayed for the dropdown option. */ label: string; } interface LabelEditTextFieldTypes { /** Label text displayed above the input field. */ label?: string; /** Initial text displayed in the input field. */ text: string; /** Text to be highlighted within the displayed text, if provided. */ highlightText?: string; /** Custom error message to be displayed, if applicable. */ customError?: string; /** Confirm icon properties including icon name and click handler. */ confirmIcon?: IconProps; /** Cancel icon properties including icon name and click handler. */ cancelIcon?: IconProps; editIcon?: IconProps; /** Type of input field - standard text field or text field with a dropdown. */ variant?: 'textFieldWithDropdown' | 'textField'; /** Array of dropdown options used if the dropdown variant is selected. */ dropdownData?: DropdownOption[]; /** Width of the input field component. */ width?: string; /** Height of the input field component. */ height?: string; /** Function called when confirming input changes, with input and dropdown values as arguments. */ confirmAction?: (inputValue: string, dropdownValue: string) => void; isOpen?: boolean; /**for conditionally handle custom error */ customErrorCondition?: boolean; onClick?: () => void; nameTooltipTitle?: string; } declare const EditTextField: FC; /** A cell coordinates in the spreadsheet */ type Point = { /** The cell's column */ column: number; /** The cell's row */ row: number; }; type ContextMenuState = { open: boolean; contextType: 'sheet' | 'column' | 'row' | 'cell' | null; options: optionsType[]; }; type optionsType = { label: string; value: string; iconName: string; action: () => void; disableTooltip: string; visible: boolean; disable: boolean; }; interface ExcelFileProps { /** * The Excel data containing all the sheets and their respective content. */ excelData: WorkSheet[]; /** * Make the Excel Sheet Freeze or Editable using the boolean key. */ editable?: boolean; /** * Optional configuration for the context menu (usually shown on right-click). * This allows customization of the context menu options with a label, value, icon, and action to be performed. * open: boolean; * Whether the context menu should be enabled (open or not). * If set to true, the context menu will be shown, otherwise, it will be disabled. * options: optionsType[]; * Array of options available in the context menu. Each option contains a label (display name), * value (identifier), iconName (icon to display), and action (function to be executed on click). */ contextOption?: ContextMenuState; /** * Controls whether the toolbar is shown or hidden. * Possible values: * - 'show' to display the toolbar * - 'hide' to hide the toolbar */ toolbar?: 'show' | 'disable' | 'hide'; /** * Controls whether the sheet navigation bar (tabs) is shown or hidden. * Possible values: * - 'show' to display the sheet bar * - 'hide' to hide the sheet bar * - 'readOnly' to view the sheet bar */ sheetBar?: 'show' | 'readOnly' | 'hide'; /** * Optional: The total number of rows in the Excel sheet. * This helps in determining the size and content of the sheet. */ rowCount?: number; /** * Optional: The total number of columns in the Excel sheet. * This helps in determining the structure of the sheet. */ colCount?: number; onSave?: (saveData: SaveData[], activeSheet?: string, headerOldNewData?: { sheetName: string; headers: { newData: string; oldData: string; }[]; }[]) => void; onSaveInfoChange?: (info: string) => void; /** * Delay time (in milliseconds) before the onSave callback is executed. */ onSaveDelay?: number; /** * Optional: Sets the vertical (Y-axis) positioning of the context menu. * This allows precise control over where the context menu appears on the screen. */ contextHeightPositioning?: number; /** * Optional: Sets the horizontal (X-axis) positioning of the context menu. * This allows precise control over where the context menu appears on the screen. */ contextWidthPositioning?: number; /** * Optional: Dynamically sets the height of the sheet view area. * This can be useful if you want to change the height of the sheet display. */ sheetHeight?: string; /** * Optional: Enables or disables the context menu for columns. * When set to true, column-related context menu actions are enabled. */ columnContextEnable?: boolean; /** * Optional: Enables or disables the context menu for rows. * When set to true, row-related context menu actions are enabled. */ rowContextEnable?: boolean; sheetBarContextEnable?: boolean; minimumColumnWidth?: number; scroller?: boolean; attachmentAction?: { addAttachment: (file: File) => Promise; deleteAttachment: (fileId: string) => Promise; viewAttachment: (fileId: string, fileName: string) => Promise; }; disableDeleteOption?: boolean; maxRowLimit?: number; maxColLimit?: number; maxSheetLimit?: number; getActiveCell?: (cell: { value: string; active: Point; }) => void; /** * Optional: The sheet that should stay selected when a new excelData is loaded * (for example after an import). Ignored when the sheet is not part of excelData. */ activeSheet?: string; } declare const ExcelFile: React__default.FC; interface ModuleChipProps { /** * mandatory | label for the ModuleChip component */ label: string; /** * mandatory | isActive for the ModuleChip component */ isActive: boolean; /** * mandatory | onClick for the ModuleChip component */ onClick: () => void; isFilterChip?: boolean; } declare const ModuleChip: React.FC; interface IconRadialChartProps { radius: number; lineWidth: number; label: string; percentageValue: number; icon?: string; fontSize?: number; labelColor?: string; arcColor?: string; backgroundArcColor?: string; isSelectedArch?: boolean; onSelect?: () => void; } declare const IconRadialChart: React__default.FC; interface AttachMediaProps { /** * The image source to display. */ mediaSrc: string; /** * Function triggered when the expand icon is clicked. */ onExpandClick: () => void; /** * Function triggered when the delete icon is clicked. */ onDeleteClick: (mediaSrc: string) => void; /** * Function triggered when the download icon is clicked. */ onDownloadClick: () => void; /** * Custom height for the component. */ height?: string; /** * Custom width for the component. */ width?: string; mediaType: string; fileName?: string; fileId: string; thumbnailMediaSrc?: string; isDelete: boolean; } declare const AttachMedia: React__default.FC; interface CardProps$1 { /** The icon to display in the card */ icon: string; /** The status of the card (Passed, Failed, Warning, Skipped, Flaky) */ status: 'Passed' | 'Failed' | 'Warning' | 'Skipped' | 'Flaky' | 'Total Defects' | 'Defect Density' | 'Open Defects' | 'Closed Defects' | 'Quality Score'; /** The number displayed in the card */ count: number | string; /** The description text displayed at the bottom of the card */ text: string; /** Inline Styling */ style?: React.CSSProperties; /** toggle update */ handleToggleStatus?: (_status: boolean) => void; /** make Card Select false */ resetToggle?: boolean; /** call back */ onSelectedStatus?: (_status: string) => void; } declare const StatusCard: React__default.FC; interface DyanamicObj { [key: string]: any; } interface EditorProps { /** * Editor Content Type */ language: 'javascript' | 'html' | 'json' | 'plain text' | 'xml'; /** * *Width of the editor */ width: string; /** * Height of the editor */ height: string; /** * read only */ readOnly?: boolean; /** * Variable options list */ variableOptionsList?: [] | DyanamicObj[]; /** * If true, adds 'FLV_for:' prefix to for loop variables in the dropdown and while searching. */ addForloopPrefix?: boolean; /** *Value to set in the editor */ value: string; /** * * setter function to set the value for the editor */ setValue: (value: string) => void; /** * onChange function to handle the input changes */ handleChange: (value: string | undefined, _event: any) => void; /** * Theme */ theme?: 'light' | 'vs-dark'; /** * type of editor */ isRequisiteType?: boolean; /** * onPaste */ onPaste?: (pastedContent: string) => void; /** * If passed true, it will show the variable dropdown */ showVariableDropdown?: boolean; /** * Defaukt value for the editor */ defaultValue?: string; /** * Height of the variable dropdown */ VariableDropdownHeight?: string; /** * Custom Monaco Editor options */ customOptions?: any; /** * Zindex of the variable dropdown in the editor */ editorVariableZindex?: number; showMinimap?: boolean; isFocus?: boolean; } interface dropdownPositionType { top: number; left: number; } interface VariableDropdownProps { /** * Position whether absoloute or relative */ position: 'absolute' | 'relative'; /** * Dropdown width */ width: string; /** * Dropdown height */ height?: string; /** * List of variables */ optionsList: DyanamicObj[]; /** * Function to handle click on variable */ onSelectVariable: (variable: object) => void; /** * Dropdown position used for dropdown placement */ dropdownPosition?: dropdownPositionType; /** * Dropdown zIndex used for dropdown placement */ zIndex?: number; /** * number of characters upto which the options will get truncated */ truncateTextValue?: number; highlightedIndex?: number; } declare const VariableDropdown: FC; interface LineChartProps { data: any[]; width: number; height: number; axisColor: string; isStatusVariant?: boolean; lineChartWidth?: number; yAxisLabel?: string; xAxisLabel?: string; yAxisValueColor?: string; xAxisColor?: string; yAxisColor?: string; yAxisLabelColor?: string; textSize?: string | number; fontWeight?: string | number; numberSize?: string | number; proportionalSpacing?: boolean; shouldCenterSinglePoint?: boolean; chartName?: string; xAxisLabelGap?: number; isLeftOverflow?: boolean; } declare const LineChart: React__default.FC; interface DownloadClientProps { /** * Close dialog function to close the modal dialog **/ onClose: () => void; /** * distance between modal dialog and parent from top **/ top?: string; /** * distance between modal dialog and parent from left **/ left?: string; /** * To be used custom properties for the modal dialog through className **/ className?: string; /** * Description of the dialog box **/ description?: string; /** * Download button function **/ onClick?: (os: string) => void; optionZIndex?: number; } declare const DownloadClient: React.FC; interface fieldSetProps { legendName: string; height: string; width: string; children: ReactNode | string; } declare const FieldSet: FC; declare const CreateVariableSlider: FC; interface ColumnProps$1 { /** * column name */ header: string; /** * data key for particular column */ accessor: string; /** * className for a column */ className?: string; /** * width of a column */ width?: CSSProperties['width']; /** * data for the column */ cell?: (e: any) => JSX.Element | string | ReactNode; } interface DataProps$2 { /** * data for each row */ [key: string]: any; } interface TableProps$1 { /** * Column details for table */ tableMeta: Array; /** * Data for table */ tableData: Array; /** * Table type */ accordionType: 'row' | 'column'; /** * Specific sentence to be displayed data not found */ noDataContent?: string | ReactNode; /** * withFixedHeader prop to have non-scrollable fixed accordion table header */ withFixedHeader?: boolean; /** * Height of the table in string */ height?: string; /** * Header type to have different background color */ headerType: 'default' | 'primary' | 'secondary'; /** * Accordion collapse and expand Icon width */ TableAccordionStateIconWidth: number; /** * Accordion collapse and expand Icon height */ TableAccordionStateIconHeight: number; highlightText?: string; } declare const TableWithAccordion: ({ highlightText, tableMeta, tableData, accordionType, noDataContent, height, withFixedHeader, headerType, TableAccordionStateIconWidth, TableAccordionStateIconHeight, }: TableProps$1) => React$1.JSX.Element; interface ProgressBarProps { progressPercentage?: number; color?: string; trackColor?: string; height?: number; label?: string; showPercentage?: boolean; percentageFontSize?: number; percentageTextColor?: string; labelFontSize?: number; labelTextColor?: string; usedMemory?: string; totalMemory?: string; progressBarWidth?: string | number; } declare const ProgressBar: React__default.FC; interface ChooseFileProps { /** * Variant of the button */ variant: 'primary' | 'secondary' | 'tertiary' | 'delete' | 'warning'; /** * What background color to use */ backgroundColor?: string; /** * Width in string format can be sent for needed width */ buttonWidth?: string; /** * Height in string format can be sent for needed height */ buttonHeight?: string; /** * How large should the button be? */ size?: 'small' | 'medium' | 'large'; /** * Button contents */ label?: string; /** * Type of the button */ type?: 'button' | 'submit'; disabled?: boolean; /** * Optional click handler */ onClick?: (event: React.MouseEvent) => void; /** * Button id */ id?: string; /** * onSubmit function handler */ onSubmit?: (event: React.MouseEvent) => void; /** * react ref for the button */ ref?: any; /** * Classname for the button */ className?: string; /** * Additional styles for the button */ style?: React.CSSProperties; /** * Give icon name availble in storybook that to be on left side of button */ iconName?: string; /** * isChooseFile is a Boolean prop */ isChooseFile?: boolean; /** * selectedfile object will be send. */ selectedFile?: File | DynamicObj$1 | null; /** * handleCloseIcon function will set to the initial state . */ handleCloseIcon?: () => void; /** * Is the Type ChooseFile Action Mandatory. */ isMandatory?: boolean; } declare const ChooseFile: FC; interface ScriptSwitchButtonProps { handleClick: (selected: string) => void; selected: string; tabList: Array<'Automation' | 'Manual'>; } declare const ScriptSwitchButton: React__default.FC; interface TabConfig { /** * This property specifies the name of the tab. * It is used to uniquely identify each tab. */ name: string; /** * This property specifies the name of the icon to be displayed within the tab. */ icon: string; /** * This property specifies the tooltip text to be displayed when hovering over the tab. */ tooltip: string; } /** * This interface defines the props for the `SwitchButton` component. */ interface SwitchButtonProps { /** * This callback function is triggered when a tab is clicked. * It receives the name of the selected tab as an argument. */ handleClick: (selected: string) => void; /** * This property specifies the currently selected tab by name. */ selected: string; /** * This property defines the list of tabs to be displayed within the `SwitchButton` component. * Each tab is represented by the `TabConfig` interface. */ tabList: TabConfig[]; } declare const SwitchButton: React__default.FC; type MediaPreviewProps = { onModalClose?: () => void; MediaSrc: string; fileName?: string; onDeleteClick?: (src: string) => void; mediaType: string; fileId: string; thumbnailMediaSrc?: string; isDelete?: boolean; onExpandClick?: (fileId?: string) => void; onDownloadClick?: (fileId?: string) => void; isMediaIcon?: boolean; previewOnly?: boolean; iconName?: string; isDisabled?: boolean; }; declare const MediaPreview: React__default.FC; interface NavBarIcon { name: string; [key: string]: any; } interface MobileSkinProps { children: React.ReactNode | string; orientation?: 'portrait' | 'landscape'; navBarIcons?: NavBarIcon[]; topNavBarIcons?: NavBarIcon[]; mobileHeight?: number; mobileWidth?: number; UtilityBar?: boolean; background?: string; tooltip?: Record; navBarPosition?: 'top' | 'bottom' | 'left'; tooltipFormatter?: ((title: string) => React.ReactNode) | undefined; } declare const MobileSkin: React__default.FC; interface promptProp { width?: number; height?: number; placeholder?: string; iconName?: string; iconPosition?: string; borderRadius?: number; autoFocus?: boolean; iconHeight?: number; iconWidth?: number; iconColor?: string; tooltipTitle?: string; value: string; disableInput?: boolean; isAdditionalIcon?: boolean; additionalIconName?: string; onAdditionalIconClick?: () => void; additionIconToolTip?: string; onPromptChange?: (event: React.ChangeEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; submitPrompt?: (query: string) => void; } declare const Prompt: React__default.ForwardRefExoticComponent>; interface MessageBoxProps { content?: React.ReactNode; isVisible: boolean; maxWidth?: number; onClick?: (event: React.MouseEvent) => void; isClickable: boolean; arrowPosition: 'left' | 'right'; } declare const MessageBox: React__default.FC; interface ChatModalProps { iconName: string; modalWidth: number; modalHeight: number; headerContent?: React.ReactNode; footerContent?: React.ReactNode; iconPosition: { top?: number; left?: number; bottom?: number; right?: number; }; hoverIconPosition: { top?: number; left?: number; bottom?: number; right?: number; }; modalPosition: { top?: number; left?: number; bottom?: number; right?: number; }; children: ReactNode; iconHeight?: number; iconWidth?: number; modalHeading?: string; onClearChat?: () => void; } declare const ChatModal: React__default.FC; interface ChatModalRef { closeModal: () => void; } interface ChatModalAiProps { iconName: string; modalWidth: number; modalHeight: number; headerContent?: React.ReactNode; footerContent?: React.ReactNode; iconPosition: { top?: number; left?: number; bottom?: number; right?: number; }; hoverIconPosition: { top?: number; left?: number; bottom?: number; right?: number; }; modalPosition: { top?: number; left?: number; bottom?: number; right?: number; }; children: ReactNode; iconHeight?: number; iconWidth?: number; hoverTitle?: string; onVisibilityChange?: (visible: boolean) => void; isVisible: boolean; isOpen: boolean; onOpen: () => void; onClose: () => void; isIconVisible: boolean; } declare const ChatModalAi: React$1.ForwardRefExoticComponent>; interface HistoryCardProps { /** * Is this the principal call to action on the page? */ variant: 'primary' | 'danger' | 'success' | 'warning'; /** * Details to display the title */ title: React.ReactNode; /** * Header for the tab */ tabTitle: string; /** * Comment message to display on the history card */ comment: string; /** * profileShortName is to display short name inside the profile avatar */ profileShortName: string; } declare const HistoryCard: ({ variant, title, tabTitle, comment, profileShortName, }: HistoryCardProps) => React$1.JSX.Element; interface ToggleAiIconProps { onChange?: (event: React.MouseEvent) => void; disabled?: boolean; checked?: boolean; id?: string; path?: string; } declare const AiToggle: React__default.FC; interface AnimatedSettingProps { name: string; className?: string; height?: number; width?: number; color?: string; onClick?: (data?: any) => void; hoverEffect?: boolean; isSelected?: boolean; disabled?: boolean; variant?: 'dark' | 'light' | 'danger'; x?: string; y?: string; chartIcon?: boolean; tabIndex?: number; path?: string; } declare const AnimatedSetting: React$1.ForwardRefExoticComponent>; interface PromptContainerProps { id?: number | string | null | undefined; serialNumber?: number | string; children: React.ReactNode; onContainerClick: () => void; onIconClick: (action: string) => void; numberChildren: React.ReactNode; onNextClick: () => void; onPreviousClick: () => void; activeId?: number | null | string; setActiveId: (id: number | string | null) => void; isActive?: boolean; disabled?: boolean; isEditAccess?: boolean; isViewAccess?: boolean; versionsLength?: number; count?: number; hiddenActions?: string[] | string; } declare const PromptContainer: React__default.FC; interface LinkProps { /** * Name | name of the input field */ name: string; /** * Label | field label to be displayed */ label?: string; /** * value | input field value */ value: string; /** * error | If true, error message will be displayed */ error?: boolean; /** * helperText | error, success, warning message to be shown */ helperText?: string; /** * variants to set color/style of the input field */ variant?: 'default' | 'primary'; /** * type to set color/style of the input field */ type: 'text' | 'password' | 'number' | 'email' | 'url' | 'time'; /** * to disable the input field */ disabled?: boolean; /** * to disable the link icon */ disableLinkIcon?: boolean; /** * if true, input field will be mandatory */ required?: boolean; /** * placeholder for the input field */ placeholder?: string; /** * classnames to style the input field */ className?: string; /** * noBorder prop 'true' removes border of input */ noBorder?: boolean; /** * onChange, onKeyDown, onBlur, onFocus actions */ onChange?: (event: React.ChangeEvent, item?: any) => void; onKeyDown?: (event: React.KeyboardEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; onClick?: (event: React.MouseEvent) => void; onKeyUp?: (event: React.KeyboardEvent) => void; /** * id to select the input field uniquely */ id?: string; /** * if on, suggestion popup will be displayed */ autoComplete?: 'on' | 'off'; /** * if true, input field is in autofocus state */ autoFocus?: boolean; /** * minimum and maximum values for the number type input field and their functions */ minValue?: number; maxValue?: number; /** * background of the input field prop */ transparentBackground?: boolean; /** * size for the input field */ size?: 'small' | 'medium'; /** * isLabelRequired for the input field without label,showing placeholder */ isLabelRequired?: boolean; isViewMode?: boolean; } declare const Link: React$1.ForwardRefExoticComponent>; interface ChipsWithCountProps { /** * The text to be displayed on the Chip and remaining as the count. */ labelsList: string[]; height?: string; } declare const ChipWithCount: FC; interface EditLabelProps { onConfirm?: (_text: string, _selectedOption?: Option$2) => void; onCancel?: () => void; onClick?: () => void; handleCustomError?: (inputText: string) => string; value?: string; label?: string; optionsList?: Option$2[]; selectedOption?: Option$2; withDropdown?: boolean; inputFieldWidth?: number; selectFieldWidth?: number; textColor?: string; required?: boolean; isDisable?: DisabledOptions; tooltip?: { tooltipTitle?: string; tooltipPlacement?: 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; }; highlightText?: string; id?: string; isEditable?: boolean; setIsEditable?: (id: string | null) => void; cursor?: string; isOnBlurTrue?: boolean; handleOnChange?: (e: React.ChangeEvent) => void; handleTriggerDoubleClick?: () => void; truncatedTextCount?: number; confirmIconTooltip?: string; cancelIconTooltip?: string; inlineValidationError?: boolean; onChangeValidationError?: boolean; truncatedType?: 'count' | 'pixel'; isTableTree?: boolean; isAutoTruncate?: boolean; } type OptionValue$1 = any; type DisabledOptions = { confirm?: boolean; cancel?: boolean; textField?: boolean; }; interface Option$2 { [key: string]: OptionValue$1; } declare const EditLabel: ({ id, onConfirm, onCancel, handleCustomError, value, label, optionsList, selectedOption, withDropdown, inputFieldWidth, selectFieldWidth, textColor, tooltip, required, isDisable, onClick, highlightText, isEditable, setIsEditable, cursor, isOnBlurTrue, handleOnChange, handleTriggerDoubleClick, truncatedTextCount, truncatedType, confirmIconTooltip, cancelIconTooltip, inlineValidationError, onChangeValidationError, isTableTree, isAutoTruncate, }: EditLabelProps) => React$1.JSX.Element; interface ErrorBoundaryProps { fallback: ReactNode; children: ReactNode; } interface ErrorBoundaryState { hasError: boolean; } declare class ErrorBoundary extends Component { constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(): ErrorBoundaryState; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; render(): React$1.ReactNode; } interface AddContentButtonProps { iconName?: string; onButtonClick?: () => {} | void; buttonLabel: string; buttonText: string; disableButton?: boolean; stepCount?: string | number; iconWidth?: number; iconHeight?: number; addContentLabel?: string; } declare const AddContentButton: React__default.FC; interface TabsProps { /** * An array of tab objects containing label, component, and optional disabled status. */ tabsData: { id: string; label: string; component?: JSX.Element; disabled?: boolean; count?: number | string; status?: 'success' | 'error' | 'transparent'; }[]; /** * Defines the styling variant of the tabs. */ variant?: 'default' | 'capsule'; /** * activeTabId : The ID of the currently active tab. */ activeTabId: string; /** * onTabClick : function updates the active tab state when a user interacts with the tabs, */ onTabClick: (id: string) => void; /** * noBorder:true , removes the outer border from tabs */ noBorder?: boolean; noPadding?: boolean; /** * titleSize is to accpect dynamic font size */ titleSize?: number | string; } declare const TabsWithSilder: ({ variant, tabsData, activeTabId, onTabClick, noBorder, noPadding, titleSize, }: TabsProps) => React$1.JSX.Element; interface StatusIndicatorProps { label: string; iconName?: string; onClick?: (event: React.MouseEvent) => void; isDisable?: boolean; backgroundColor: boolean; border: boolean; variant: string; } declare const StatusIndicator: React$1.ForwardRefExoticComponent>; /** * Props for the OsTree component. */ interface OsTreeProps { /** * Label for the root node of the tree. */ rootLabel: string; /** * Array of labels for the children nodes of the root. */ childrenLabels: string[]; /** * Direction of the tree layout. * Can be "horizontal" or "vertical". * @default "horizontal" */ direction?: 'horizontal' | 'vertical'; /** * Alignment of the tree nodes based on the direction. * For vertical layout: "left", "center", "right" * For horizontal layout: "top", "center", "bottom" * @default "center" */ align?: 'left' | 'center' | 'right' | 'top' | 'bottom'; } declare const OsTree: React__default.FC; interface OtpVerificationProps { /** * Function to handle the closing of the OTP verification popup. */ handleClose: () => void; /** * Function to handle the action when user clicks on "Resend OTP". */ handleResend: () => void; /** * Function to handle OTP validation on submit. Receives the entered OTP as a string. */ handleOtp: (otp: string) => void; /** * Optional timeout in seconds before the user can resend the OTP again. Default is 30 seconds. */ resendTimeout?: number; } declare const OtpVerification: React__default.FC; interface MediaViewerModalProps { isOpen: boolean; onClose: () => void; isPlaying: boolean; onTogglePlay?: () => void; mediaType: 'video' | 'image'; src: string; headerTitle?: string | React.ReactNode; onDownload?: () => void; onExpand?: () => void; showHeader?: boolean; showDownload?: boolean; showExpand?: boolean; width?: string; height?: string; showControls?: boolean; customStyle?: React.CSSProperties; overlay?: boolean; children?: React.ReactNode; showControlDownload?: boolean; showControlExpand?: boolean; isFullscreen?: boolean; } declare const MediaViewerModal: React__default.FC; interface ActionsConfig { download?: { onClick: () => void; iconName?: string; disabled?: boolean; tooltip?: string; className?: string; }; delete?: { onClick: () => void; iconName?: string; disabled?: boolean; tooltip?: string; className?: string; }; } interface SessionDropdownProps { header: string; secondaryHeader?: string; primaryCount?: string; secondaryCount?: string; primaryItems: React.ReactNode[]; secondaryItems?: React.ReactNode[]; width?: string; activeTab?: 'primary' | 'secondary'; onPrimaryTabClick?: () => void; onSecondaryTabClick?: () => void; actions?: ActionsConfig; tabsData?: { id: string; label: string; count?: string | number; component?: ReactElement; disabled?: boolean; }[]; activeTabId?: string; onTabClick?: (tabId: string) => void; notchPosition?: 'top-left' | 'bottom-center'; } declare const SessionDropdown: React__default.FC; interface NewNode { sourceId?: string; payloadSourceId?: string; action?: 'addAbove' | 'addBelow' | 'addInside'; type?: 'input' | 'inputWithDropdown'; options?: []; selectedOption?: string; value?: string; error?: string; label?: string; confirmIconTooltip?: string; cancelIconTooltip?: string; firstNodeKey?: string; } declare type JSX$1 = ReactNode | JSX$1.Element[] | string | null; type RootNode = { node: any; select: 'radio' | 'checkbox' | 'none'; cell?: (row: any) => JSX$1; actions?: (row: any, treeRowRef?: React.RefObject) => JSX$1; }; interface Column { name: string | JSX$1; accessor: string; width: string; isClickable?: boolean; cell?: (row: any) => JSX$1; actions?: (row: any, treeRowRef?: React.RefObject) => JSX$1; isTree?: boolean; defaultValue?: string; defaultActions?: () => JSX$1; } interface TreeTableProps { treeData: any; columnsData: Column[]; selected?: string[]; select?: 'radio' | 'checkbox' | 'none'; onChange?: (e: any, node: string[] | any) => void; onClick?: (e: React.MouseEvent, row: TreeNodeProps) => void; onExpand?: (node: TreeNodeProps) => void; loadMore?: (_direction?: string) => void; tableBorder?: string; height?: number | string; newNode?: NewNode; onAddConfirm?: (_name: string, _type?: Option$1) => void; onAddCancel?: () => void; loading?: boolean; rootNode?: RootNode; getContentLength?: number; handleEditFieldError?: (inputText: string) => string; pagination?: boolean; selectedNode?: string; tableHeaderBgColor?: string; hideOnDisable?: boolean; freezeColumns?: number; addModuleInputWidth?: number; addModuleSelectWidth?: number; onScroll?: () => void; onScrollEnd?: () => void; disableEditLabelConfirmIcon?: boolean; transparentHeader?: boolean; navigateTreeNode?: string | null; handleRemoveNavigateTreeNode?: () => void; scrollThreshold?: number; showHeader?: boolean; resetScroll?: boolean; setResetScroll?: (value: boolean) => void; showRootNodeColumnActions?: boolean; } type OptionValue = any; interface Option$1 { [key: string]: OptionValue; } declare const TableTreeFn: React__default.ForwardRefExoticComponent>; declare const Loader: (details: { name: string; loaderName: string; }) => React$1.JSX.Element; interface NoDataMessageProps { isVisible: boolean; } declare const NoDataAvailable: FC; type NoDataProps = { text?: string; iconName?: string; fontSize?: string; textAlign?: 'left' | 'right' | 'center' | 'justify' | undefined; direction?: 'column' | 'row'; iconWidth?: number; iconHeight?: number; fontWeight?: 'semi-bold' | 'bold' | 'regular' | 'medium' | undefined; marginTop?: string; }; declare const NoResultFound: FC; type LayoutWithDrawerProps = { drawerProps?: React__default.ComponentProps; showDrawer: boolean; zIndex?: number; top?: string; children?: React__default.ReactNode; }; declare const LayoutWithDrawer: ({ drawerProps, showDrawer, children, zIndex, top, }: LayoutWithDrawerProps) => React__default.JSX.Element; interface NetworkErrorBoundaryProps { children: ReactNode; /** * Optional custom offline content to display * If not provided, uses default offline SVG */ offlineContent?: ReactNode; /** * Optional callback when network status changes */ hasError?: boolean; /** * When set to `true`, the component will render the error/overlay UI */ onNetworkStatusChange?: (isOnline: boolean) => void; /** * Optional custom CSS class for the overlay */ overlayClassName?: string; /** * Optional z-index override for the overlay */ overlayZIndex?: number; /** * Width of the fallback icon (default: 300) */ iconWidth?: number; /** * Height of the fallback icon (default: 300) */ iconHeight?: number; } declare const NetworkErrorBoundary: FC; interface AudioPlayerProps { /** * Total duration of the audio in seconds, e.g. 392 for 06:32 */ duration: number; /** * Current playback position in seconds. Component is controlled — * parent owns this value and updates it (e.g. via a timer / media element). */ currentTime: number; /** * Whether the audio is currently playing */ isPlaying?: boolean; /** * Called when the play/pause button is clicked */ onPlayPause?: () => void; /** * Called when the user drags or clicks the progress bar to seek to a new time (in seconds) */ onSeek?: (time: number) => void; /** * Whether audio is muted */ isMuted?: boolean; /** * Called when the speaker/mute icon is clicked */ onMuteToggle?: () => void; /** * Options shown in the 3-dot dropdown menu. Defaults to Captions and * Playback Speed if not passed. */ menuOptions?: Array<{ label: string | React__default.ReactNode; value: string; icon?: string; [key: string]: any; }>; /** * Called when a dropdown menu option is clicked */ onMenuOptionClick?: (option: { label: string | React__default.ReactNode; value: string; }) => void; /** * Disables all controls (play/pause, seek, mute, menu) */ disabled?: boolean; /** * Seconds to jump forward/backward when using the arrow key shortcuts. Defaults to 5. */ seekStep?: number; /** * Format function for the time labels. Defaults to mm:ss. */ formatTime?: (seconds: number) => string; /** * To add styles in AudioPlayer */ className?: string; style?: React__default.CSSProperties; showCaptions?: boolean; [key: string]: any; } declare const AudioPlayer: React__default.FC; type valueType$1 = any; declare const checkEmpty: (value: valueType$1) => boolean; type valueType = File | string; declare const getExtension: (value: valueType) => string | undefined; declare const getExtensionWithPeriod: (value: valueType) => string; type AnyObject$1 = { id: number; [key: string]: any; }; declare function findAndInsert(data: T[], key: keyof T, targetId: number, newEntry: T, insertPosition: 'above' | 'below' | 'replace', childrenKey?: string): { updatedArray: T[]; } | null; declare const ffid: () => string; type Callback$1 = (...args: any[]) => void; interface DebouncedFunction extends Function { cancel: () => void; flush: () => void; } declare const debounce: (func: Callback$1, delay: number) => DebouncedFunction; /** * Compare two arrays for equality. * This function checks if both arrays contain the same elements in the same order, * including nested structures. * * @param arr1 - The first array to compare. * @param arr2 - The second array to compare. * @returns - A boolean indicating if the arrays are equal. */ declare const compareArrays: (arr1: unknown[], arr2: unknown[]) => boolean; type AnyObject = Record; declare const compareObjects: (obj1: AnyObject | null, obj2: AnyObject | null) => boolean; declare function getEncryptedData(data: string, base64PublicKey: string, requestProtocol?: string): Promise; type Callback = (...args: any[]) => void; interface ThrottledFunction extends Function { cancel: () => void; } declare const throttle: (func: Callback, limit: number) => ThrottledFunction; declare const truncateText: (text: string, maxLimit?: number, truncateType?: "count" | "pixel", fontSize?: number, fontFamily?: string, letterSpacing?: number) => string; declare const isTextTruncated: (text: string, maxLimit?: number, truncateType?: "count" | "pixel", fontSize?: number, fontFamily?: string) => boolean; type DynamicObj = { [key: string]: any; }; type StackedBarSegment = { key: string; value: number; color: string; data?: DynamicObj | any; uniqueId?: string | any; }; type StackedBarDataItem = { label: string; segments: StackedBarSegment[]; }; type StackedBarChartProps = { data: StackedBarDataItem[]; chartId?: string; barWidth?: number; height?: number; barGap?: number; barBorderRadius?: number; xAxisLabel?: string; yAxisLabel?: string; yAxisDivisions?: number; padding?: number; legend?: boolean; legendPosition?: 'top' | 'bottom'; showXAxisLabels?: boolean; isTruncateText?: boolean; isOnclick?: boolean; isYaxisSticky?: boolean; onSelectedBar?: (colData: { label: string; segments: StackedBarSegment[]; }, index: number) => void; onSegmentClick?: (label: string, segment: StackedBarSegment, segmentIndex: number) => void; }; type BarChartProps = { data: { label: string; value: number | string; id?: string; percent?: number; versions?: string[]; }[]; isYaxisSticky?: boolean; barWidth: number; height: number; barGap?: number; colors?: string[][]; xAxisLabel?: string; isTruncateText?: boolean; yAxisLabel?: string; padding?: number; yAxisDivisions?: number; barBorderRadius?: number; legend?: boolean; showXAxisLabels?: boolean; icons?: (string | React__default.ReactNode)[]; iconSize?: number; backgroundColor?: string; legendPosition?: 'top' | 'bottom'; legendGap?: number; extendBarChartRightWidth?: number; isYAxisValuePercentage?: boolean; selectedBar?: string | null; setSelectedBar?: (value: string | null) => void; onSelectedBar?: (_label: string, item: DynamicObj) => void; totalLabel?: string; customToolTip?: boolean; isOnclick?: boolean; isDashboardVersions?: boolean; type?: string; isMemory?: boolean; tooltipWidth?: string; useSectionBasedWidth?: boolean; }; declare const BarChart: React__default.FC; declare const StackedBarChart: React__default.FC; interface BarValue { value: number | string; arcColor: string | string[]; arcBackgroundColor: string; barLabel: string; } type LegendType = 'numberLegend' | 'pillLegend'; interface MultiRadialChartProps { radius: number; lineWidth: number; fontSize: number; labelHeading: string; lineCap: 'square' | 'round'; barValues: BarValue[]; legendType?: LegendType; isLegendDetails?: boolean; isPillValueVisible?: boolean; labelFontSize?: number; subLabelFontSize?: number; gapAngle?: number; chartToLegendGap?: string; legendGap?: string; gapBetweenArch?: number; capsuleStyle?: object; } declare const MultiRadialChart: React__default.FC; declare const Editor: React$1.ForwardRefExoticComponent>; interface OperatingSystemInfo { osName: string; osVersion: string; hostName: string; iconName: string; } interface RunLevelExecutionDataSet$1 { peVariableSetId: string; peVariableSetName: string; globalVariableSetId: string; globalVariableSetName: string; testDataSetId: string; testDataSetName: string; } interface MachineExecutionInstance { id: string; clientId: string; numberOfRuns: string | number; executionEnv: string; browserName: string; browserVersion: string; systemUrl: string; machineInfo: OperatingSystemInfo; deviceInfo: any[]; runLevelExecutionDataSets: RunLevelExecutionDataSet$1[]; headless: boolean; } interface SequentialMachineInstance extends Omit { peVariableSetId: string; globalVariableSetId: string; testDataSetId: string; peVariableSetName: string; globalVariableSetName: string; testDataSetName: string; } declare const getSequentialPayload: (data: MachineExecutionInstance[]) => SequentialMachineInstance[]; type machineDataObj = any; interface MachineData { [key: string]: machineDataObj; } interface RunLevelExecutionDataSet { peVariableSetId: string; globalVariableSetId: string; testDataSetId: string; runScriptCount?: number; [key: string]: any; } interface ConnectingNodeConfig { isButton?: boolean; isMultiSelect?: boolean; parentNodeData?: { [key: string]: any; }; parentNodeIndex?: number; childNodeData?: { [key: string]: any; }; childNodeIndex?: number; runLevelExecutionDataSetIndex?: number; runLevelExecutionDataSet?: RunLevelExecutionDataSet; } interface ConnectBranchProps { data: MachineData; noOfScripts?: number; childNodeCurveHeight?: number; getParentNodeComponent: (nodeArgs: ConnectingNodeConfig) => ReactElement; getParentNodeComponentActionItems: (nodeArgs: ConnectingNodeConfig) => ReactElement; getChildNodeComponent: (nodeArgs: ConnectingNodeConfig) => ReactElement; isReadOnlyMode?: boolean; hideNodeAtLast?: boolean; } declare const ConnectingBranch: React__default.FC; declare const saveFileFromBlob: (blob: Blob, filename: string) => void; declare const capitalize: (text: string) => string; interface CommentType { id?: string | number; description?: string; createdBy?: string; modifiedBy?: string; createdByUname?: string; modifiedByUname?: string; createdOn?: string; modifiedOn?: string; name?: string; emailId?: string[]; commentParentId?: string; comments: CommentType[]; profileImage?: string | null; } interface CommentsProps { commentsData: CommentType[]; handleAddComment: any; handleEditComment: any; handleDeleteComment: any; onCommentsDataChange?: (data: any) => void; currentUser?: { createdBy: string; modifiedBy: string; createdByUname: string; modifiedByUname: string; }; isDisable?: boolean; userDetails?: any; createdByID?: string; createdBy?: string; rowBreakCharCount?: number; isVewMode?: boolean; showTextarea?: boolean; deleteEnable?: boolean; autoFocus?: boolean; } declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, currentUser, isDisable, userDetails, createdByID, rowBreakCharCount, isVewMode, deleteEnable, showTextarea, autoFocus, }: CommentsProps) => React__default.JSX.Element; declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState; type ClickOutsideOptions = { ignoreSelectors?: string[]; }; declare const useClickOutside: (ref: React.RefObject, callback: () => void, ignoreRefs?: Array | undefined>, options?: ClickOutsideOptions) => void; type TriggerControl = { canTrigger: () => boolean; setTriggered: () => void; resetTrigger: () => void; }; declare const useTriggerControl: () => TriggerControl; interface PopUpModalProps { isOpen: boolean; onClose: () => void; onContinue?: () => void; titleMessage: string; subTitleMessage?: string; iconName: string; modalMessage: string | React.ReactNode; secondaryMessage?: string | React.ReactNode; firstButtonLabel?: string; secondButtonLabel?: string; buttonVariant: any; border: string; popupWidth?: string; popupHeight?: string; colorForTitleMessage?: string; footerContent?: React.ReactNode; firstButtonDisabled?: boolean; secondButtonDisabled?: boolean; zIndex?: number; iconSize?: number; } declare const PopUpModal: FC; declare function formatString(input: string, removeSections?: string[]): string; type dynamicObject$1 = { [key: string]: any; }; type TestDataObject$1 = { _id: string; name: string; actualPath: string; searchKey: string; parentId: string; }; interface ConditionalDropdownProps { /** * Label for the field */ label?: string; handleClearInput?: () => void; /** * Value in the input should stored in this state */ hashInputValue?: TestDataObject$1 | dynamicObject$1; /** * Function storing and updating the inputValue state */ setHashInputValue?: (value: File | dynamicObject$1 | null) => void; /** * List of variables */ variableList?: dynamicObject$1[]; /** * If true, adds 'FLV_for:' prefix to for loop variables in the dropdown and while searching. */ addForloopPrefix?: boolean; /** * Place holder for the input field */ placeholder?: string; /** * Function to handle input change * @param value * @returns */ onChange?: (event: React.ChangeEvent, dropdownItem?: dynamicObject$1) => void; /** * Function to handle create variable icon click */ onCreateVariableClick?: () => void; /** * Width of the dropdown */ dropdownWidth?: string; /** * Name | name of the input field */ name?: string; /** * value | input field value */ value?: string; /** * variants to set color/style of the input field */ variant?: 'default' | 'primary'; /** * type to set color/style of the input field */ type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time'; /** * error | If true, error message will be displayed */ error?: boolean; /** * helperText | error, success, warning message to be shown */ helperText?: string; /** * to disable the input field */ disabled?: boolean; /** * if true, input field will be mandatory */ required?: boolean; /** * classnames to style the input field */ className?: string; /** * noBorder prop 'true' removes border of input */ noBorder?: boolean; onKeyDown?: (event: React.KeyboardEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; /** * id to select the input field uniquely */ id?: string; /** * if on, suggestion popup will be displayed */ autoComplete?: 'on' | 'off' | 'new-password'; /** * minimum and maximum values for the number type input field and their functions */ minValue?: string; maxValue?: string; /** * background of the input field prop */ transparentBackground?: boolean; /** * size for the input field */ size?: 'small' | 'medium'; /** * isLabelRequired for the input field without label,showing placeholder */ isLabelRequired?: boolean; /** * showHidePasswordIcon to hide or show the view password icon in input field */ showHidePasswordIcon?: boolean; /** * If true, dropdown opens when '#' is entered at the first position. */ isHash?: boolean; /** * Options for the dropdown when `isHash` is true. */ dataFiles?: (dynamicObject$1 | string)[]; /** * a boolean prop to show add variable icon or not. */ showAddVariableIcon?: boolean; onlyDropdown?: boolean; optionsDropdownPosition?: 'relative' | 'absolute'; formProps?: Record; readOnly?: boolean; height?: string; isTruncateText?: boolean; truncateTextValue?: number; isClearIconShow?: boolean; width?: string; isCapitalize?: boolean; } declare const ConditionalDropdown: React$1.ForwardRefExoticComponent>; declare const hasDuplicateFile: (array: any[], property: string) => boolean; interface PhoneInputProps { country: string; value: string; onChange: (phone: string) => void; onFocus?: (event: React.FocusEvent) => void; onBlur?: (event: React.FocusEvent) => void; width?: string; placeholder?: string; isValid: any; id: string; international?: boolean; dropdownStyle?: React.CSSProperties; enableAreaCodeStretch?: boolean; defaultCountry?: string; disabled?: boolean; isVerified?: boolean; isVerifyDisplay?: boolean; onVerifyClick?: () => void; onValidationChange?: (isValid: boolean) => void; } declare const PhoneInputField: React__default.FC; type KeyboardAction = { key: string; action: () => void; }; declare const useKeyboardActions: (actions: KeyboardAction[], ref?: RefObject) => void; declare const rearrangeDragItem: (initialArray: any[], oldIndex: number, newIndex: number) => any[]; declare const formatResponseDate: (dateString: string | Date, format: "dd MMM yyyy" | "MMM dd yyyy" | "yyyy dd MM") => string; declare const convertFormDataToObject: (formData: FormData) => Record; interface TreeDetailsResult { treeDataList: TreeNodeProps[]; next: boolean; previous: boolean; startId: string; endId: string; root?: TreeNodeProps; } declare const getTreeDetails: (action: "above" | "below" | "expand" | "collapse" | "start" | "addAbove" | "addBelow" | "expandAll" | "collapseAll" | "show" | "hide" | "clone" | "delete" | "create" | "refresh", oldData: TreeNodeProps[], newData: TreeNodeProps[], sourceId?: string, _deletedIds?: string[]) => TreeDetailsResult; declare const updateTreeState: (treeDataList: TreeNodeProps[], currentNode: TreeNodeProps) => TreeNodeProps[]; declare const useBeforeUnload: (beforeunload: boolean) => void; declare const handleTreeNodeSect: (data: TreeNodeProps[], key: string | undefined, rootNode: TreeNodeProps | null, isChecked: boolean) => { data: TreeNodeProps[]; rootNode?: TreeNodeProps | null; }; /** * Updates selectedStatus to 'none' and optionally merges updates by key. * * @param tree Original tree (flat array) * @param updates Optional array of partial updates (matched by key) * @returns Updated tree */ declare function handleUnCheckAllTreeNodesWithUpdates(tree: TreeNodeProps[], updates?: Partial[]): TreeNodeProps[]; declare const handleTreeNodeExpandCollapse: (data: TreeNodeProps[], key: string | undefined, rootNode: TreeNodeProps | null, isExpanded: boolean, hidePrePostScript?: boolean) => { data: TreeNodeProps[]; rootNode?: TreeNodeProps; }; declare const formatDate: (date: Date) => string; declare const addPrePostStepGroup: (steps: any[], stepId: string, newStep: any[]) => any[]; declare const addStepGroup: (oldData: any[], title: string, stepId: string, newSteps: any[]) => any[]; declare const convertToISO: (dateString: string) => Date; declare const handleTimeZoneChange: (timeZone: string) => string; type dynamicObject = { [key: string]: any; }; type TestDataObject = { _id: string; name: string; actualPath: string; searchKey: string; parentId: string; }; interface VariableSuggestionInputDropDownProps { /** * Label for the field */ label?: string; /** * Value in the input should stored in this state */ hashInputValue?: TestDataObject | dynamicObject; /** * Function storing and updating the inputValue state */ setHashInputValue?: (value: File | dynamicObject | null) => void; /** * List of variables */ variableList?: dynamicObject[]; /** * Place holder for the input field */ placeholder?: string; /** * Function to handle input change * @param value * @returns */ onChange?: (event: React.ChangeEvent, item?: dynamicObject) => void; onPaste?: (event: React.ClipboardEvent) => void; /** * Function to handle create variable icon click */ onCreateVariableClick?: () => void; /** * Function to clear input field on close icon click */ handleClearInput?: () => void; /** * Width of the dropdown */ dropdownWidth?: string; /** * Height of the dropdown */ dropdownHeight?: string; /** * Name | name of the input field */ name?: string; /** * value | input field value */ value?: string; /** * variants to set color/style of the input field */ variant?: 'default' | 'primary'; /** * type to set color/style of the input field */ type?: 'text' | 'password' | 'number' | 'email' | 'url' | 'time'; /** * error | If true, error message will be displayed */ error?: boolean; /** * helperText | error, success, warning message to be shown */ helperText?: string; /** * to disable the input field */ disabled?: boolean; /** * if true, input field will be mandatory */ required?: boolean; /** * classnames to style the input field */ className?: string; /** * noBorder prop 'true' removes border of input */ noBorder?: boolean; onKeyDown?: (event: React.KeyboardEvent) => void; onBlur?: (event: React.FocusEvent) => void; onFocus?: (event: React.FocusEvent) => void; /** * id to select the input field uniquely */ id?: string; /** * if on, suggestion popup will be displayed */ autoComplete?: 'on' | 'off' | 'new-password'; /** * minimum and maximum values for the number type input field and their functions */ minValue?: string; maxValue?: string; /** * background of the input field prop */ transparentBackground?: boolean; /** * size for the input field */ size?: 'small' | 'medium'; /** * isLabelRequired for the input field without label,showing placeholder */ isLabelRequired?: boolean; /** * If true, dropdown opens when '#' is entered at the first position. */ isHash?: boolean; /** * If true, only hash dropdown will be shown without create variable icon. */ isOnlyHash?: boolean; /** * Options for the dropdown when `isHash` is true. */ dataFiles?: dynamicObject[]; /** * a boolean prop to show add variable icon or not. */ showAddVariableIcon?: boolean; formProps?: Record; zIndex?: number; truncateTextValue?: number; getSelectedVariable?: (option: string) => void; symbol?: string; clearIcon?: boolean; /** * inputTitle for the field */ inputTitle?: string; helperTextWidth?: number | string; iconProps?: { /** * Flag to determine if icon should be shown */ isShowIcon?: boolean; /** * Function triggered when icon is clicked */ onIconClick?: (event: React.MouseEvent) => void; /** * Name of the icon to display */ iconName?: string; /** * Tooltip title shown when hovering over icon */ iconToolTipTitle?: string; /** * Flag to disable the icon */ isIconDisable?: boolean; iconColor?: string; }; isCapitalize?: boolean; stepInput?: dynamicObject; } declare const VariableSuggestionInputDropDown: React$1.ForwardRefExoticComponent>; interface DataProps$1 { /** * data for each row */ [key: string]: any; } interface AddNlpProp$1 { action?: 'addBelow' | 'addLast' | 'replaceNlp' | 'EditNlp'; nlpName?: string; sourceIndex?: number; id?: string; } interface SelectedItemProps { /** * selected row object | All selected flag */ [key: string]: string | number | boolean; } interface PrePostTableProps { /** * Data for table */ data: Array; /** * Column details for table */ columns: Array; /** * Header type to have different background color */ headerType: 'default' | 'primary' | 'secondary' | 'tertiary'; /** * withFixedHeader prop to have non-scrollable fixed table header */ withFixedHeader?: boolean; /** * borderWithRadius prop to have table with border 1px and borderRadius 5px */ borderWithRadius?: boolean; /** * Check box feature to select the row */ withCheckbox?: boolean; /** * Event for checkbox onClick */ onSelect?: (e: object, arg: SelectedItemProps) => void; /** * Check box feature to select the row */ allSelected?: boolean; /** * send true to show partial checkbox in the header */ partialSelected?: boolean; /** * send true to disable the checkbox in the header */ headerCheckboxDisabled?: boolean; /** * The content that to be displayed if no data not found */ noDataContent: string | ReactNode; /** * Image that to be displayed if you don't have data */ noDataImage?: string; /** * Size of the image that to be displayed if you don't have data */ noDataImageSize?: 'x-large' | 'large' | 'medium' | 'small' | 'x-small'; /** * Height of the table in string */ height?: string; /** * classNames for the table container */ className?: string; /** * classNames for the table Header container */ tableHeadClass?: string; /** * classNames for the table Row container */ tableBodyRowClass?: string; /** * custom color for the column text */ headerTextColor?: 'default' | 'primary'; /** * custom color for the row text */ tableDataTextColor?: string; /** * icon for the table header, for expand or other purposes */ headerIconName?: string; /** * handle function for the table header icon */ headerIconOnClick?: () => void; /** * Drag and Drop pass true to enable */ draggable?: boolean; /** * Drag and Drop indexes */ onDragEnd?: (startIndex: number, endIndex: number) => void | undefined; loadMore?: (_direction?: string) => void; /** * enable editMode by setting state row id */ editMode?: number | string; /** * The content that to be displayed if editComponent */ editComponent?: ReactNode; /** * The content that to be displayed NlpInput Component */ NlpComponent?: ReactNode; /** * state for the Add new Row in Table */ AddNlp?: AddNlpProp$1 | undefined | null; /** * handle function for Drag Starting in the Table */ handleDragStart?: () => void; loading?: boolean; handleViewComponent?: (_rowData: DataProps$1, _toggleViewRow: (_val: null) => void) => (() => ReactElement) | null; handleAccordion?: (row: any) => void; scriptType?: boolean; } declare const PrePostTable: React$1.ForwardRefExoticComponent>; interface ColumnProps { /** * column name */ header: string; /** * data key for particular column */ accessor: string; /** * className for a column */ className?: string; /** * width of a column */ width?: number; /** * data for the column */ cell?: (e: any) => JSX.Element | string | ReactNode; extraInfo?: (e: any) => JSX.Element | string | ReactNode; } interface AddNlpProp { action?: 'addBelow' | 'addLast' | 'replaceNlp' | 'EditNlp'; nlpName?: string; sourceIndex?: number; } interface DataProps { /** * data for each row */ [key: string]: any; } interface TableProps { onHighlightComplete?: () => void; highlightKey?: string | undefined | null; /** * Column details for table */ tableMeta: Array; /** * Data for table */ tableData: Array; /** * Specific sentence to be displayed data not found */ noDataContent?: string | ReactNode; /** * withFixedHeader prop to have non-scrollable fixed accordion table header */ withFixedHeader?: boolean; /** * Height of the table in string */ height?: string; /** * Header type to have different background color */ headerType: 'default' | 'primary' | 'secondary'; onDragEnd?: (startIndex: number, endIndex: number) => void | undefined; editMode?: number | string; /** * The content that to be displayed if editComponent */ editComponent?: ReactNode; /** * The content that to be displayed NlpInput Component */ NlpComponent?: ReactNode; /** * state for the Add new Row in Table */ AddNlp?: AddNlpProp | undefined | null; /** * handle function for Drag Starting in the Table */ handleDragStart?: VoidFunction; handleAccordion?: (e: any) => void; /** * Event for checkbox onClick */ onSelectClick?: (e: any) => void; /** * Check box feature to select the row */ isMaximize?: boolean; /** * Is drawer maximized */ handleViewComponent?: (_rowData: DataProps, _toggleViewRow: (_val: null) => void) => (() => ReactElement) | null; loading?: boolean; isViewPrivilegeMode?: boolean; defaultExpanded?: 'Steps' | 'POST' | 'PRE' | 'Depends' | 'All'; isHeaderRequired?: boolean; isClientSide?: boolean; isDraggable?: boolean; handleParentRowHover?: (e: any) => void; handleParentRowHoverOut?: (e: any) => void; isAITriage?: boolean; fetchInsights?: (e: any) => Promise; renderInsightsContent?: (params: { insightsData: any; isLoading: boolean; row: any; }) => ReactNode; } declare const StepLandingTable: React__default.MemoExoticComponent>>; interface RichTextEditorProps$1 { convertedContent: string; label?: string; setConvertedContent: (content: string) => void; onBlur?: (event: React.FocusEvent) => void; readOnly?: boolean; toolbarHidden?: boolean; toolbarOptions?: string[]; mode?: 'view' | 'edit'; analyticsClasses?: boolean; descriptionContentNotEditable?: boolean; required?: boolean; helperText?: string; error?: boolean; editableTextEditor?: boolean; onSubmit?: (content: string) => void; onFocus?: (event?: React.FocusEvent) => void; } declare const TextEditor: FC; interface NoDataFoundProps { iconName: string; iconWidth?: number; iconHeight?: number; text?: string; textFontSize?: string; textDirectionRow?: boolean; gap?: string; } declare const NoDataContent: React__default.FC; type CardProperties = { width?: string; height?: string; background?: string; borderRadius?: string; boxShadow?: string; padding?: string; margin?: string; border?: string; className?: string; style?: CSSProperties; onClick?: () => void; }; type HeaderContentProperties = { isHeader?: boolean; content?: JSX.Element; }; type MidContentProperties = { isMidContent?: boolean; content?: JSX.Element; }; type FooterContentProperties = { isFooter?: boolean; content?: JSX.Element; }; type CardProps = { cardProperties?: CardProperties; headerContent?: HeaderContentProperties; midContent: MidContentProperties; footerContent?: FooterContentProperties; isSkeleton?: boolean; }; declare const Card: FC; declare const isEmptyObject: (obj: any) => boolean; declare const toCamelCase: (str: string) => string; declare const autoScrollToTableLastRow: (tableRef: React.RefObject, extraCustomHeight?: number) => () => void; declare const handleTreeExpandAllCollapseAll: (data: TreeNodeProps[], key: string, rootNode: TreeNodeProps | null, isExpanded: boolean, treeAction?: "expandAll" | "collapseAll" | undefined, hidePrePostScript?: boolean) => { data: TreeNodeProps[]; rootNode?: TreeNodeProps; }; type ScrollLogicalPosition = 'start' | 'center' | 'end' | 'nearest'; declare const scrollToView: (id: string | null | undefined, block?: ScrollLogicalPosition, retries?: number) => void; declare function toggleShowHideEntity(data: TreeNodeProps[], isHide: boolean, isScript: boolean): TreeNodeProps[]; type TopVisibleNode = { key: string | null; searchKey?: string | null; }; declare function getTopVisibleNodeKey(scrollContainerWrapper: HTMLDivElement, treeData: TreeNodeProps[]): TopVisibleNode | null; declare const nlpInputDelay: (ms: number) => Promise; declare const getNavigateToKey: (currentNode: TreeNodeProps, treeData: TreeNodeProps[], action: string) => { navigateTo: string | undefined; }; declare const checkMicrophoneAccess: (handleMicToggle: Function, { requestDeniedMsg, notSupportedMsg, micAccessDeniedMsg, }: { requestDeniedMsg: string; notSupportedMsg: string; micAccessDeniedMsg: string; }) => Promise; interface DebugToolsPanelProps { buttons?: string[]; panelContentMap?: Record; headerIconsMap?: Record; headerLeadingIconMap?: Record; panelheight?: string; panelwidth?: string; } declare const DebugToolsPanel: FC; interface SessionManagerProps { isRotate?: boolean; modal?: string[]; onClick?: (index: number) => void; tooltip?: Record; icons?: string[]; className?: string; disabledIcons?: string[]; activeIcon?: string; } declare const SessionManager: React$1.ForwardRefExoticComponent>; declare const StatusBadge: ({ gap, fontSize, entityType, statusValues, }: { gap?: number; fontSize?: number; entityType?: string; statusValues: { status: string; value: number; tooltipValue?: number; }[]; }) => React$1.JSX.Element; interface ToggleOption { label: string; value: string; } interface ContextToggleProps { options: ToggleOption[]; selected: string; onChange: (value: string) => void; iconName?: string; className?: string; width?: number | string; height?: number | string; } declare const SelectionSwitcher: React__default.FC; interface ZoomControlProps { value: number; min?: number; max?: number; step?: number; onChange: (value: number) => void; className?: string; } declare const ZoomControl: FC; declare const TooltipService: () => null; interface AutoTruncateTextComponentProps { children: React.ReactNode; className?: string; lines?: number; interactive?: boolean; placement?: Props['placement']; allowedHtml?: boolean; tooltipText?: any; } declare const AutoTruncateText: React$1.MemoExoticComponent<({ children, className, lines, interactive, placement, allowedHtml, tooltipText }: AutoTruncateTextComponentProps) => React$1.JSX.Element>; declare const cleanAllTooltips: () => void; interface RiskZone { /** Inclusive lower bound of the score range */ min: number; /** Inclusive upper bound of the score range */ max: number; /** Risk level label */ label: string; /** Color for the gauge arc segment */ color: string; } interface ScoreGaugeChartProps { /** Score value between 0 and 100, or `"NA"` when no score is available */ score: number | string; /** Outer radius of the gauge arc (default: 90) */ radius?: number; /** Thickness of the gauge arc (default: 14) */ strokeWidth?: number; /** Custom risk zones configuration. Defaults to High (0-70), Warning (71-89), Low (90-100) */ riskZones?: RiskZone[]; /** Whether to show the legend below the chart (default: true) */ showLegend?: boolean; /** Angular gap (in radians) between adjacent risk zone arcs (default: 0) */ gapAngle?: number; /** Custom class name for the root container */ className?: string; /** Custom inline styles for the root container */ style?: React.CSSProperties; /** Color of the background gauge track */ trackColor?: string; /** Color of the inner circle and pointer */ centerCircleColor?: string; /** Radius offset for the central circle, relative to the inner arc edge (default: 15) */ centerCircleRadiusOffset?: number; /** Height/length of the triangular pointer (default: 16) */ pointerHeight?: number; /** Half-width of the triangular pointer base (default: 10) */ pointerBaseHalfWidth?: number; /** Opacity of the center circle and pointer (default: 0.6) */ centerOpacity?: number; /** Whether to show the center score text and labels (default: true) */ showCenterText?: boolean; /** Whether to show the center risk label under the score (default: false) */ showCenterRisk?: boolean; } declare const ScoreGaugeChart: React__default.FC; interface CardPanelProps { /** * Header label text displayed in the panel header */ headerLabel: string; /** * Content to be rendered inside the panel body (accepts JSX) */ children: ReactNode; /** * Custom class name for the panel container */ className?: string; /** * Custom styles for the panel container */ style?: React.CSSProperties; /** * Custom styles for the panel body/content area */ contentStyle?: React.CSSProperties; /** * Optional JSX to render on the right side of the header (e.g. action buttons) */ headerActions?: ReactNode; /** * Height of the panel header (default is '32px') */ headerHeight?: string; } declare const CardPanel: ({ headerLabel, children, className, style, contentStyle, headerActions, headerHeight, }: CardPanelProps) => React$1.JSX.Element; type SearchTreeNode = TreeNodeProps & { container?: boolean; id?: string | number; [key: string]: any; }; declare const computeTreeCountsAndFormatNodes: (treeData: TreeNodeProps[], timezone?: string) => TreeNodeProps[]; declare const updateSearchTree: (searchValues: DynamicObj$1, treeDataList: TreeNodeProps[], dispatch: any, setSearchedTree: (data: any) => void, setSearchedRootModule: (data: any) => void, facetQueries?: DynamicObj$1[], singleNodeData?: SearchTreeNode, action?: "above" | "below" | "add" | "clone", sourceId?: string, clonedNodesList?: SearchTreeNode[]) => void; declare const passesFilters: (facetQueries: DynamicObj$1[], response: DynamicObj$1) => boolean; declare const restoreSelectedFilters: (urlFilters: DynamicObj$1[], setSelectedFilters: (filters: string[]) => void, setModifiedOnState: (filters: DynamicObj$1) => void, setInitialFilterData: (filters: string[]) => void, setInitialModifiedOnState: (filters: DynamicObj$1) => void) => void; declare const getFiltersFromUrl: (params: URLSearchParams) => DynamicObj$1[]; type RichTextToolbarOption = 'bold' | 'italic' | 'underline' | 'strike' | 'heading1' | 'heading2' | 'heading3' | 'bulletList' | 'orderedList' | 'blockquote' | 'code' | 'codeBlock' | 'link' | 'image' | 'attachment' | 'undo' | 'redo' | 'clear'; /** * Uploads an image and resolves with its http(s) URL */ type RichTextImageUpload = (file: File) => Promise; /** * Why an image was not inserted: * - `'upload'`: the upload failed or resolved with an unsafe URL */ type RichTextImageUploadError = 'upload'; /** * Uploads an attached file and resolves with its http(s) URL */ type RichTextFileUpload = (file: File) => Promise; /** * Why an attached file was not inserted: * - `'type'`: it doesn't match `fileAttachmentAccept`, or it isn't an image and * no `onFileUpload` was given * - `'size'`: it is larger than `maxFileSize` * - `'upload'`: the upload failed or resolved with an unsafe URL */ type RichTextFileAttachmentError = 'type' | 'size' | 'upload'; /** * Format of the editor `value` and of the content passed to `onChange`, `onFocus` and `onBlur` */ type RichTextOutputFormat = 'html' | 'text'; interface RichTextDynamicValue { /** * Text shown in the suggestion list */ label: string; /** * Identifier stored on the token as `data-id` and shown as `{{value}}` */ value: string; } interface RichTextEditorProps { /** * Content of the editor, in the format set by `outputFormat` */ value?: string; /** * Format of `value` and of the content passed to `onChange`, `onFocus` and `onBlur`. * - `'html'`: the editor HTML, with formatting * - `'text'`: plain text, one line per block. Formatting, links and images are * dropped and dynamic values are written as `{{value}}` * @default 'html' */ outputFormat?: RichTextOutputFormat; /** * Called with the editor content (see `outputFormat`) and its text character count * whenever the content changes */ onChange?: (value: string, charCount: number) => void; /** * Called with the text character count on mount and whenever it changes * (including external `value` updates). Use it to run min/max length * validation in the parent form and pass the result back via `error`/`helperText` */ onCharCountChange?: (charCount: number) => void; /** * Label shown above the editor */ label?: string; /** * Shows a required asterisk next to the label */ required?: boolean; /** * Placeholder shown when the editor is empty */ placeholder?: string; /** * Makes the editor non-editable and hides the toolbar */ readOnly?: boolean; /** * Hides the toolbar while keeping the editor editable */ toolbarHidden?: boolean; /** * Toolbar buttons to show, in order. Defaults to all options */ toolbarOptions?: RichTextToolbarOption[]; /** * Values offered when the user types `dynamicValueTrigger`. Picking one inserts it * as a token: ``. * The feature is disabled (typing the trigger does nothing) when this is empty or omitted */ dynamicValues?: RichTextDynamicValue[]; /** * Called with the dynamic values present in the content (document order, no duplicates) * on mount and whenever they change, including external `value` updates */ onDynamicValuesChange?: (dynamicValues: RichTextDynamicValue[]) => void; /** * Character that opens the dynamic value list * @default '<' */ dynamicValueTrigger?: string; /** * Enables inserting images via the toolbar `image` button, paste and drop. * When false, the `image` toolbar option is hidden and pasted/dropped images are ignored. * * **Pass `onImageUpload` with this** for content that is sent as email or stored: * without it, images are embedded as base64 (see `onImageUpload`) * @default false */ allowImageUpload?: boolean; /** * Uploads images picked, pasted or dropped into the editor and resolves with their URL. * * **Strongly recommended when `allowImageUpload` is true.** When omitted, images * are embedded in the HTML as base64 data URLs, which: * - are blocked or stripped by email clients such as Gmail and Outlook * - make the HTML (and every `onChange` value) as large as the images, often several MB * * The fallback is only meant for demos and small, local-only content */ onImageUpload?: RichTextImageUpload; /** * Called for each image that was not inserted, with the reason. The other * images still upload */ onImageUploadError?: (file: File, reason: RichTextImageUploadError) => void; /** * Enables attaching local files via the toolbar `attachment` button, and via * paste and drop for files that aren't inserted as images. Each file is inserted * as a download chip: * ``. * When false, the `attachment` toolbar option is hidden. * * **Pass `onFileUpload` with this**: without it only image files can be * attached, and they are embedded as base64 (see `onFileUpload`) * @default false */ allowFileAttachment?: boolean; /** * Uploads attached files and resolves with their URL. * * **Required to attach anything other than images.** When omitted: * - non-image files are rejected with reason `'type'` (a base64 link is only * allowed for images, so they can't be inserted safely) * - image files are embedded in the HTML as base64 data URLs, which email * clients such as Gmail and Outlook block or strip, and which make the HTML * (and every `onChange` value) as large as the files */ onFileUpload?: RichTextFileUpload; /** * File types that can be attached, in `accept` attribute syntax * (e.g. `'image/*'`, `'.pdf,.docx'`) * @default 'image/*' */ fileAttachmentAccept?: string; /** * Maximum size of an attached file, in bytes */ maxFileSize?: number; /** * Called for each attached file that was not inserted, with the reason */ onFileAttachmentError?: (file: File, reason: RichTextFileAttachmentError) => void; /** * Applies error styling */ error?: boolean; /** * Text shown below the editor (error message when `error` is true) */ helperText?: string; /** * Minimum height of the editable area */ minHeight?: number | string; /** * Maximum height of the editable area, scrolls beyond this */ maxHeight?: number | string; /** * Minimum number of text characters. Shows an error after blur when the * content is non-empty but shorter than this */ minLength?: number; /** * Maximum number of text characters. Input beyond this is blocked and a * `count/maxLength` counter is shown below the editor */ maxLength?: number; /** * Focuses the editor on mount */ autoFocus?: boolean; onFocus?: (value: string) => void; onBlur?: (value: string) => void; className?: string; } declare const RichTextEditor: FC; declare const EMAIL_REGEX: RegExp; declare const URL_REGEX: RegExp; declare const PHONE_REGEX: RegExp; declare const POSTAL_CODE_REGEX: RegExp; declare const IPV4_REGEX: RegExp; declare const IPV6_REGEX: RegExp; declare const HEX_COLOR_REGEX: RegExp; declare const PASSWORD_SIMPLE_REGEX: RegExp; declare const PASSWORD_COMPLEX_REGEX: RegExp; declare const ALPHABET_ONLY_REGEX: RegExp; declare const NUMBERS_ONLY_REGEX: RegExp; declare const ALPHANUMERIC_REGEX: RegExp; declare const ALPHANUMERIC_WITH_ROUND_BRACES_REGEX: RegExp; declare const DATE_REGEX: RegExp; declare const TIME_REGEX: RegExp; declare const FILE_EXTENSION_REGEX: RegExp; declare const MAC_ADDRESS_REGEX: RegExp; declare const CREDIT_CARD_REGEX: RegExp; declare const SSN_REGEX: RegExp; declare const UUID_REGEX: RegExp; declare const HTML_TAG_REGEX: RegExp; declare const WHITESPACE_REGEX: RegExp; declare const US_ZIP_CODE_REGEX: RegExp; declare const BIG_END_WHITESPACE: RegExp; declare const USERNAME_REGEX: RegExp; declare const INDIAN_PHONE_REGEX: RegExp; declare const INDIAN_PIN_CODE_REGEX: RegExp; declare const GSTIN_REGEX: RegExp; declare const PAN_CARD_REGEX: RegExp; declare const AADHAAR_REGEX: RegExp; declare const VEHICLE_REGISTRATION_REGEX: RegExp; declare const INDIAN_CURRENCY_REGEX: RegExp; declare const INTERNATIONAL_PHONE_REGEX: RegExp; declare const INDIAN_PASSPORT_REGEX: RegExp; declare const DRIVING_LICENSE_REGEX: RegExp; declare const USERNAME_SPECIAL_REGEX: RegExp; declare const DECIMAL_NUMBER_REGEX: RegExp; declare const HTML_ATTRIBUTE_REGEX: RegExp; declare const RGB_COLOR_REGEX: RegExp; declare const HSL_COLOR_REGEX: RegExp; declare const BASE64_REGEX: RegExp; declare const BINARY_NUMBER_REGEX: RegExp; declare const HEXADECIMAL_NUMBER_REGEX: RegExp; declare const ROMAN_NUMERALS_REGEX: RegExp; declare const CURRENCY_GENERIC_REGEX: RegExp; declare const LINKEDIN_PROFILE_REGEX: RegExp; declare const TWITTER_HANDLE_REGEX: RegExp; declare const NUMBER_REGEX: RegExp; declare const UNIT_REGEX: RegExp; declare const SCRIPT_REGEX: RegExp; declare const MEMORY_VALIDATION_REGEX: RegExp; declare const STEP_GROUP_NAME_REGEX: RegExp; declare const NLP_DESCRIPTION_REGEX: RegExp; declare const FILE_NAME_REGEX: RegExp; declare const ELEMENTS_TRAILING_SPACE_REGEX: RegExp; declare const ELEMENTS_WHITE_SPACE_REGEX: RegExp; declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp; declare const ALPHANUMERIC_PARENTHESIS_REGEX: RegExp; declare const CAMEL_CASE_REGEX: RegExp; declare const DYNAMIC_VALUE__PLACEHOLDER_REGEX: RegExp; declare const DYNAMIC_VALUE_PATTERN_REGEX: RegExp; declare const DYNAMIC_VALUE_TYPE_REGEX: RegExp; declare const DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX: RegExp; declare const CERTIFICATES_NAME_REGEX: RegExp; declare const HTML_FILE_TYPE_VALIDATION: RegExp; declare const BODY_TAG_TYPE_VALIDATION: RegExp; declare const XML_FILE_TYPE_VALIDATION: RegExp; declare const JAVASCRIPT_FILE_TYPE_VALIDATION: RegExp; declare const CHECK_CAMEL_CASE: RegExp; declare const START_END_WHITESPACE_REGEX: RegExp; declare const ALPHA_NUM_REGEX: RegExp; declare const EMAIL_VALIDATION_REGEX: RegExp; declare const LINK_VALIDATION_REGEX: RegExp; declare const ALPHA_NUM_EXTENDED_REGEX: RegExp; declare const ALPHANUMERIC_WITH_DOT_REGEX: RegExp; declare const EXCEL_SPACING_REGEX: RegExp; declare const ALPHABET_WITH_SPACES_ONLY_REGEX: RegExp; declare const FILENAME_VALIDATION_REGEX: RegExp; declare const VALID_NAME_PATTERN: RegExp; declare const NO_LEADING_TRAILING_SPACE_REGEX: RegExp; declare const SERVER_HOST_REGEX: RegExp; declare const EMAIL_FORMAT_REGEX: RegExp; declare const INVALID_EMAIL_REGEX: RegExp; declare const EXECUTION_ID_VALIDATION: RegExp; declare const setStoreValue: (key: string, value: string | object | null) => void; declare const getStoreValue: (key: string) => string | unknown | null; declare const deleteStoreValue: (key: string) => void; declare const clearStore: () => void; declare const convertToGB: (value: string) => number; declare const convertToBytes: (value: string) => number; interface StepResultStatsProps { metaData: any; width?: number; displayIcon?: boolean; } declare const StepResultStats: React.FC; interface Action { text?: string; color?: string; } interface ScriptGenerationLoaderProps { /** * array */ actions?: Action[]; /** * In percentage */ width?: number; /** * In percentage */ height?: number; path?: string; DynamicHeight?: number; } declare const ScriptGenerationLoader: React__default.FC; declare const useDeviceType: () => { isMobile: boolean; isTab: boolean; isLargeTab: boolean; isWeb: boolean; }; declare const copyToClipboard: (text: string) => boolean; interface StorageUsageBarProps { used: string | number; total: string | number; unit?: string; showValue?: boolean; width?: string; } declare const StorageUsageBar: React.FC; declare const validateFileContent: (file: File) => Promise; interface DotLoaderProps { dotCount?: number; label?: string; labelFontSize?: number; labelFontWeight?: 'bold' | 'regular' | 'medium' | 'semi-bold'; dotFontSize?: number; dotFontWeight?: 'bold' | 'regular' | 'medium' | 'semi-bold'; } declare const DotLoader: ({ dotCount, label, labelFontSize, labelFontWeight, dotFontSize, dotFontWeight }: DotLoaderProps) => React$1.JSX.Element; interface MetricCardProps { title: string; value: string | number; color: string; width?: string | number; height?: string | number; className?: string; } declare const MetricCard: ({ title, value, color, width, height, className, }: MetricCardProps) => React$1.JSX.Element; interface InsightCardProps { title: string; bullets: string[]; color: string; width?: string | number; height?: string | number; iconName?: string; } declare const InsightCard: ({ title, bullets, color, width, height, iconName }: InsightCardProps) => React$1.JSX.Element; export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHABET_WITH_SPACES_ONLY_REGEX, ALPHANUMERIC_PARENTHESIS_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_DOT_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, ALPHA_NUM_EXTENDED_REGEX, ALPHA_NUM_REGEX, Accordion, AddContentButton, AddResourceButton, AiToggle, AllProjectsDropdown, AnimatedSetting, AppHeader, AttachMedia, AttachmentButton, AudioPlayer, AutoTruncateText, Avatar, BASE64_REGEX, BIG_END_WHITESPACE, BINARY_NUMBER_REGEX, BODY_TAG_TYPE_VALIDATION, BarChart, Card as Box, BrowserTabs, Button, CAMEL_CASE_REGEX, CERTIFICATES_NAME_REGEX, CHECK_CAMEL_CASE, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, CardPanel, ChatModal, ChatModalAi, Checkbox, Chip, ChipWithCount, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, ContentCard, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DYNAMIC_VALUE_PATTERN_REGEX, DYNAMIC_VALUE_TYPE_REGEX, DYNAMIC_VALUE_WITH_VALID_BRACKETS_REGEX, DYNAMIC_VALUE__PLACEHOLDER_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DebugToolsPanel, DonutChart, DotLoader, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_FORMAT_REGEX, EMAIL_REGEX, EMAIL_VALIDATION_REGEX, EXCEL_SPACING_REGEX, EXECUTION_ID_VALIDATION, EditLabel, EditTextField, Editor, ErrorBoundary, ExcelFile as Excel, ExpandableMenu, FILENAME_VALIDATION_REGEX, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_FILE_TYPE_VALIDATION, HTML_TAG_REGEX, MemoizedHighlightText as HighlightText, HistoryCard, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, INVALID_EMAIL_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, InsightCard, JAVASCRIPT_FILE_TYPE_VALIDATION, LINKEDIN_PROFILE_REGEX, LINK_VALIDATION_REGEX, LabelEditTextField, LayoutWithDrawer, LineChart, LineLoader, Link, Loader, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MediaPreview, MediaViewerModal as MediaViewerModel, MenuOption, MessageBox, MetricCard, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NO_LEADING_TRAILING_SPACE_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, NetworkErrorBoundary, NoDataAvailable, NoDataContent, NoResultFound, OsTree, OtpVerification, OverviewModal, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, PrePostTable, ProcessedSourceSelector, ProgressBar, Prompt, PromptContainer, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, RichTextEditor, Row, SCRIPT_REGEX, SERVER_HOST_REGEX, SSN_REGEX, START_END_WHITESPACE_REGEX, STEP_GROUP_NAME_REGEX, ScoreGaugeChart, ScriptGenerationLoader, ScriptSwitchButton, Search, Select, SelectionSwitcher, SequentialConnectingBranch, SessionDropdown, SessionManager, StackedBarChart, StateDropdown, StatusBadge, StatusButton, StatusCard, StatusIndicator, StepLandingTable, StepResultStats, StorageUsageBar, SwitchButton, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, TreeTable as TableTree, TableTreeFn, TableWithAccordion, Tabs, TabsWithSilder, Textarea as TextArea, TextEditor, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, TooltipService, TruncatedTooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VALID_NAME_PATTERN, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, VariableSuggestionInputDropDown, WHITESPACE_REGEX, WeightageTable, XML_FILE_TYPE_VALIDATION, ZoomControl, addPrePostStepGroup, addStepGroup, autoScrollToTableLastRow, capitalize, checkEmpty, checkMicrophoneAccess, cleanAllTooltips, clearStore, compareArrays, compareObjects, computeTreeCountsAndFormatNodes, convertFormDataToObject, convertToBytes, convertToGB, convertToISO, copyToClipboard, debounce, deleteStoreValue, ffid, findAndInsert, formatDate, formatResponseDate, getEncryptedData, getExtension, getExtensionWithPeriod, getFiltersFromUrl, getNavigateToKey, getSequentialPayload, getStoreValue, getTopVisibleNodeKey, getTreeDetails, handleTimeZoneChange, handleTreeExpandAllCollapseAll, handleTreeNodeExpandCollapse, handleTreeNodeSect, handleUnCheckAllTreeNodesWithUpdates, hasDuplicateFile, isEmptyObject, isTextTruncated, nlpInputDelay, passesFilters, rearrangeDragItem, restoreSelectedFilters, saveFileFromBlob, scrollToView, setStoreValue, throttle, toCamelCase, toast, toggleShowHideEntity, truncateText, updateSearchTree, updateTreeState, useBeforeUnload, useClickOutside, useDeviceType, useFileDropzone, useKeyboardActions, useTheme, useTriggerControl, validateFileContent }; export type { HighlightTextPart, HighlightTextSegment, RichTextDynamicValue, RichTextEditorProps, RichTextFileAttachmentError, RichTextFileUpload, RichTextImageUpload, RichTextImageUploadError, RichTextOutputFormat, RichTextToolbarOption, RootNode$1 as RootNode, TreeNodeProps, WeightageCellRenderProps, WeightageColumnLabels, WeightageGroup, WeightageRow, WeightageTableProps };