import React from 'react'; import { ButtonProps } from '../../basic/Button/Button'; import { TooltipProps } from '../../basic/Tooltip/Tooltip'; declare type FieldSize = 'small' | 'medium' | 'large'; declare type FieldWidth = 'full' | number; declare type Intensity = 'default' | 'light'; declare type ActionProps = ButtonProps & { onClick: () => void; } & ({ label: string; icon?: () => JSX.Element; children?: never; } | { icon: () => JSX.Element; label?: string; children?: never; }); declare type TooltipConfig = { id: string; children: React.ReactNode; } & TooltipProps; export declare type InputProps = Omit, 'prefix'> & { actions?: { actionOne?: ActionProps; actionTwo?: ActionProps; }; error?: boolean; errorMessage?: string; fieldSize?: FieldSize; fieldWidth?: FieldWidth; icon?: () => JSX.Element; iconColor?: string; intensity?: Intensity; label?: string; labelledBy?: string; message?: string; prefix?: string | JSX.Element; hideValue?: boolean; step?: number | 'any'; suffix?: string; type?: 'date' | 'email' | 'number' | 'password' | 'tel' | 'text' | 'time' | 'url'; value?: string | number; } & ({ tooltip?: undefined; onInfoIconClick?: never; } | { tooltip: TooltipConfig; onInfoIconClick?: () => void; }); declare const Input: React.ForwardRefExoticComponent>; export default Input;