import * as React from "react"; import { TextInputProps } from "./TextInput"; 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: ({ type, showInputLabel, appearance, ...props }: TextInputWithIconProps) => React.JSX.Element; export default TextInputWithIcon;