import type { Node } from '../tiptap/pm/model';
type Words = (options: {
    node?: Node;
}) => number;
type Characters = (options: {
    node?: Node;
    mode?: 'textSize' | 'nodeSize';
}) => number;
export declare const characterCount: import("../ricos-types/tiptap.js").RicosFunctionalExtension<{
    maxTextLength?: number;
    mode: 'textSize' | 'nodeSize';
}, {
    words: Words;
    characters: Characters;
}>;
export {};
//# sourceMappingURL=character-count.d.ts.map