import React from 'react'; import { TextFieldProps } from './TextField'; /** * Handle internal focus state for TextField to set appropriate style when input is focued. * Add focus handling to the event handlers */ export declare const useFocus: (props: TextFieldProps) => { inputRef: React.RefObject; focus: boolean; setFocus: React.Dispatch>; onFocus: (e: React.FocusEvent) => void; onBlur: (e: React.FocusEvent) => void; onChange: ((event: React.ChangeEvent) => void) | undefined; onKeyDown: (e: React.KeyboardEvent) => void; };