import React from 'react';
export declare const useTextInput: ({ initialValue, maxLength, onChange, }: {
    initialValue: string;
    maxLength?: number | undefined;
    onChange: (value: string) => void;
}) => {
    value: string;
    charCount: number | undefined;
    handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
};
//# sourceMappingURL=useTextInput.d.ts.map