/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes } from 'react'; import type { FormatCharacterCountText } from './formatCharacterCountText'; export type CharacterCountProps = { /** * Returns the text that displays the count, based on the current and maximum length. * Formatters for all tested locales are available as exports. * @default formatCharacterCountTextNl */ readonly formatText?: FormatCharacterCountText; /** The current length of the field’s value. */ readonly length: number; /** The maximum length of the field’s value. */ readonly maxLength: number; } & Readonly>; /** * Shows how many characters remain within a specified limit as the user types. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-forms-character-count--docs Character Count docs at Amsterdam Design System} */ export declare const CharacterCount: import("react").ForwardRefExoticComponent<{ /** * Returns the text that displays the count, based on the current and maximum length. * Formatters for all tested locales are available as exports. * @default formatCharacterCountTextNl */ readonly formatText?: FormatCharacterCountText; /** The current length of the field’s value. */ readonly length: number; /** The maximum length of the field’s value. */ readonly maxLength: number; } & Readonly> & import("react").RefAttributes>;