/** * Wraps each word, sentence or paragraph in a string with a tag. * @info Don't forget to render the HTML safely. */ export declare function splitByWords(text: string): string; /** * Check the strength of a password against a given policy. * @info Don't forget to use our Password Generator in the Generators section */ export declare function checkPasswordStrength(text: string, options?: { length?: number; uppercase?: number; number?: number; special?: number; }): object; /** * Replaces placeholders in a string with values from an object. */ export declare function mergeFields(text: string, fields: Record): string; /** * Returns the reading time of a string in Hours, Minutes, and Seconds. */ export declare function readingTime(text: string, wordsPerMinute?: number): string; /** * Count by character, word, sentence, paragraph or unique string. */ export declare function countBy(text: string, options?: { by?: 'character' | 'word' | 'sentence' | 'paragraph' | 'unique'; searchFor?: string; }): number; /** * Animate text by wrapping each character in a span with a delay. */ export declare function animateText(text: string, options?: { splitBy?: 'word' | 'character'; time?: number; unit?: 'ms' | 's'; class?: string; }): string;