import * as React from 'react'; import { ThemedCssFunction } from 'styled-components'; export declare type RenderProps = { invalid?: boolean; placeholder?: string; value?: any; labelCss?: ThemedCssFunction | string; inputCss?: ThemedCssFunction | string; highlightCss?: ThemedCssFunction | string; highlightProps: HighlightProps; inputProps: InputProps; labelProps: LabelProps; }; export declare type InputProps = { invalid?: boolean; name?: string; value?: number | string; css?: ThemedCssFunction | string; onChange?: (e: React.SyntheticEvent) => void; }; export declare type HighlightProps = { invalid?: boolean; css?: ThemedCssFunction | string; }; export declare type LabelProps = { isEmpty?: boolean; children: React.ReactNode; css?: ThemedCssFunction | string; }; export declare type WrapperProps = { onClick?: (e: React.SyntheticEvent) => void; css?: ThemedCssFunction | string; className?: string; style?: React.CSSProperties; value?: any; invalid?: boolean; isEmpty?: boolean; id?: string; }; declare type TextInputProps = { className?: string; id?: string; invalid?: boolean; name?: string; placeholder?: string; readOnly?: boolean; style?: React.CSSProperties; value?: any; css?: ThemedCssFunction | string; highlightCss?: ThemedCssFunction | string; inputCss?: ThemedCssFunction | string; labelCss?: ThemedCssFunction | string; renderHighlight?: React.SFC; renderInput?: React.SFC; renderLabel?: React.SFC; onChange?: (e: React.SyntheticEvent) => void; onClick?: (e: React.SyntheticEvent) => void; }; export declare class TextInput extends React.PureComponent { static defaultProps: { type: string; invalid: boolean; placeholder: string; renderInput: React.SFC; renderHighlight: React.SFC; renderLabel: React.SFC; }; static Input: import("styled-components").StyledComponent<"input", any, InputProps, never>; static Highlight: import("styled-components").StyledComponent<"span", any, HighlightProps, never>; static Label: import("styled-components").StyledComponent<"label", any, import("../Label").LabelProps & LabelProps, never>; render(): JSX.Element; } export {};