import React from 'react'; export type NaturalLanguageInputProps = Omit, 'onChange' | 'value' | 'defaultValue' | 'placeholder' | 'readOnly'> & { /** Placeholder value */ placeholder?: string; /** Controlled value of input */ value?: string; /** Uncontrolled value of input */ defaultValue?: string; /** Callback when value changes */ onChange?: (value: string) => void; /** * Should the input render in an error state? This will only alert the user * when they are focused on the field. You should ensure the value that remains * on blur is a valid value and revert to a previous valid value if necessary. */ error?: boolean; /** Should the input render as read only? */ readOnly?: boolean; }; /** * Input component for natural language forms. [Design Specification](https://design.planview.com/components/forms/natural-language-form/anatomy#interactive-text-input-trigger) * * This component is meant to be used in conjunction with both `NaturalLanguageForm` and `FormattedMessage` from `react-intl`. * * ```ts * import { NaturalLanguageInput } from '@planview/pv-form' * ``` */ export declare const NaturalLanguageInput: ({ value: valueIncoming, defaultValue, onChange, error, readOnly, ...rest }: NaturalLanguageInputProps) => React.JSX.Element; //# sourceMappingURL=input.d.ts.map