import type { LexicalEditor } from 'lexical'; type OptionalProps = { strlen?: (input: string) => number; onChange?: ({ words, textLength, readTime }: { words: number; textLength: number; readTime: number; }) => void; }; export default function useCharacterCount(editor: LexicalEditor, optional?: OptionalProps): void; export {};