///
import { MQ } from '../utils';
import { FormInputState } from '../form/types';
import { LogicalProps } from '../utils/logical-properties';
export type ValidInputElement = HTMLInputElement | HTMLTextAreaElement;
export type Format = (val: {
currentLength: number;
minLength?: number;
maxLength?: number;
}) => string;
export interface CharacterCountProps extends Omit, 'children'> {
inputRef: React.RefObject;
size?: 'small' | 'medium' | 'large';
state?: FormInputState;
format?: Format;
overrides?: {
stylePreset?: MQ;
typographyPreset?: MQ;
minHeight?: MQ;
} & LogicalProps;
minLength?: number;
maxLength?: number;
}
//# sourceMappingURL=types.d.ts.map