import { InputHTMLAttributes, ComponentProps } from 'react';
type TextInputProps = Omit, 'onChange'> & {
delayMs?: number;
/** specify 'decimal' to trigger numeric keyboards on mobile devices */
inputMode?: InputHTMLAttributes['inputMode'];
onChange: (s: string) => void;
placeholder: string;
setValue?: (s: string) => void;
inputValidator?: (s: string) => boolean;
/** specify 'error' to show error state (change in color), field is used for a11y purposes, not actually rendered currently, can be either boolean flag or string error message */
error?: string | boolean;
};
export declare const TextInput: import('react').ForwardRefExoticComponent & import('react').RefAttributes>;
export {};
//# sourceMappingURL=TextInput.d.ts.map