import * as React from 'react'; import { Merge } from 'type-fest'; declare type StatusType = 'valid' | 'error' | 'warning' | ''; declare type InputSizes = 'small' | 'regular' | 'large'; declare type StatusObject = { type: StatusType; message: React.ReactNode; }; declare type InnerInputProps = Merge, Partial<{ /** Text label for Input */ label: string; /** Helper to appear to the right of the label */ labelHelper: React.ReactElement | string; /** Text to show belog the label */ description: string; /** Value of Input */ value: string; /** Node to place at start of Input */ prefix: React.ReactElement | Element | string; /** Node to place at end of Input */ suffix: React.ReactElement | Element | string; /** Context clarification to appear below Input */ textHelper: string; /** Sets Input disabled state */ disabled: boolean; /** Sets input readonly state (immutability) */ readOnly: boolean; /** One of "valid", "warning", "error", or "" */ status: Partial; /** One of "small", "regular", "large" */ size: InputSizes; /** https://reactjs.org/docs/forwarding-refs.html */ forwardedRef: React.Ref; /** https://reactjs.org/docs/refs-and-the-dom.html */ ref: React.Ref; css: any; }>>; export declare type InputProps = Merge, InnerInputProps & { css?: any; }>; declare const Input: React.FunctionComponent; export { Input };