import type { SizeProp } from '../../lib/types/props.js';
import type { TextareaProps } from './Textarea.js';
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.js").ReactUIComponentWithRef<TextareaCounterRef, TextareaCounterProps> & Record<never, never>;
