/** Returns length of the initial input's value. */
export function getInitialCount(props) {
    const { defaultValue, value } = props;
    return defaultValue?.toString().length ?? value?.toString().length ?? 0;
}
//# sourceMappingURL=helpers.js.map