import React from 'react'; interface DataTest { actionButton?: string; searchBar?: string; } declare type SearchAttributes = Omit, 'css'>; export interface SearchProps extends SearchAttributes { /** * **Deprecated:** Set Search style to alternate version * * @deprecated This props is not supported anymore */ alternate?: boolean; /** * Set Search autoCapitalize setting */ autoCapitalize?: string; /** * Set Search autoComplete setting */ autoComplete?: string; /** * Set Search to be borderless */ borderless?: boolean; /** * Set Search container className */ className?: string; /** * To provide data-testid */ dataTestId?: DataTest; /** * Set Search into focus state manually * @default false */ focus?: boolean; /** * Set Search height */ height?: number | string; /** * Set Search `input` id */ id?: string; /** * Set Search button a11y label language * @default 'id' */ lang?: string; /** * Set Search `input` name */ name?: string; /** * Set Search `input` placeholder text */ placeholder?: string; /** * Set refs for Search `input` */ setRef?: ((node: Node) => void) | React.MutableRefObject | React.Ref; /** * **Deprecated:** Set Search size to small * * @deprecated This design will not be supported */ small?: boolean; /** * Set Search input value */ value?: string; /** * Set Search width */ width?: number | string; /** * **Deprecated:** Action when Search button is clicked. * * @deprecated This props is not supported anymore */ onActionClick?: (e: React.MouseEvent) => void; /** * Action when Search `input` is out of focus */ onBlur?: (e: React.FocusEvent) => void; /** * Action when Search `input` value is changed */ onChange?: (e: React.ChangeEvent) => void; /** * Action when Search `input` is clicked */ onClick?: (e: React.MouseEvent) => void; /** * Action when clear button clicked */ onClickClear?: (e: React.MouseEvent) => void; /** * Action when Search `input` out of focus */ onFocus?: (e: React.FocusEvent) => void; /** * Action when Search `input` value is inputted */ onInput?: (e: React.KeyboardEvent) => void; /** * Action when Search `input` KeyDown */ onKeyDown?: (e: React.KeyboardEvent) => void; /** * Action when Search `input` KeyPress */ onKeyPress?: (e: React.KeyboardEvent) => void; /** * Action when Search `input` KeyUp */ onKeyUp?: (e: React.KeyboardEvent) => void; } export {};