import { default as React, ReactNode } from 'react'; export interface InputProps { id?: string; label?: string; /** full `narmi-icon-` className for icon at start of input */ startIconClass?: string; /** full `narmi-icon-` className for icon at end of input */ endIconClass?: string; /** arbitrary JSX to place at the start of the input */ startContent?: ReactNode; /** arbitrary JSX to place at the end of the input */ endContent?: ReactNode; /** arbitrary JSX to place at the end of the subtitle/error */ tailContent?: ReactNode; showClearButton?: boolean; clearInput?: (event: React.MouseEvent) => void; decoration?: ReactNode; multiline?: boolean; disabled?: boolean; search?: boolean; onClick?: (event: React.MouseEvent) => void; style?: React.CSSProperties; error?: string | string[] | null; /** Gives consumers control over where to render the error when `false` */ renderError?: boolean; children?: ReactNode; } /** * PRIVATE * * This component has no stories because it is only used internally by NDS. * In a future release, this base Input component will be merged with TextInput. */ declare const Input: ({ id, label, startIconClass, endIconClass, startContent, endContent, tailContent, showClearButton, clearInput, disabled, multiline, decoration, error, search, onClick, style, renderError, children, }: InputProps) => React.JSX.Element; export default Input; //# sourceMappingURL=index.d.ts.map