import type { SizeProp } from '../../lib/types/props';
import type { TextareaProps } from './Textarea';
export interface TextareaCounterProps {
    value: TextareaProps['value'];
    length: number;
    help: TextareaProps['counterHelp'];
    onCloseHelp: () => void;
    textarea: HTMLTextAreaElement;
    size: SizeProp;
}
export interface TextareaCounterRef {
    reflow: () => void;
}
export declare const TextareaCounter: import("../../lib/forwardRefAndName").ReactUIComponentWithRef<TextareaCounterRef, TextareaCounterProps> & Record<never, never>;
