import * as React from "react"; import { TextInputProps } from "./TextInput"; import { InputAppearance } from "../../shared/types/inputAppearance"; import { IconShapes } from "../../icon/components/Icon"; export interface TextInputWithIconProps extends TextInputProps { /** * icon to display at the start of this TextInput. */ iconStart?: IconShapes | React.ReactElement; /** * icon to display at the end of this TextInput. */ iconEnd?: IconShapes | React.ReactElement; } export interface TextInputWithIconState { hasFocus?: boolean; } declare const TextInputWithIcon: { (props: TextInputWithIconProps): JSX.Element; defaultProps: { type: string; appearance: InputAppearance; showInputLabel: boolean; }; }; export default TextInputWithIcon;