import type { TextOptions } from "../types.js";
import EdenTextHelper from "../user-interface/block/eden-text-helper.js";
export declare function getTextLengthHerlperContent(element: HTMLElement, options?: TextOptions): {
    content: string;
    tooltip: string;
} | undefined;
export declare function updateErrorAttribute(element: HTMLElement, helper?: EdenTextHelper, options?: TextOptions): void;
export declare function preventDefaultIfNecessary(event: KeyboardEvent, enforceTextLength: boolean, element: HTMLElement, options?: TextOptions): void;
//# sourceMappingURL=text-length.d.ts.map