import type { Faker } from '.'; export declare class Lorem { private readonly faker; private readonly Helpers; constructor(faker: Faker); /** * Generates a word of a specified length. * * @method faker.lorem.word * @param length length of the word that should be returned. Defaults to a random length */ word(length?: number): string; /** * Generates a space separated list of words. * * @method faker.lorem.words * @param num number of words, defaults to 3 */ words(num?: number): string; /** * sentence * * @method faker.lorem.sentence * @param wordCount defaults to a random number between 3 and 10 * @param range */ sentence(wordCount?: number, range?: number): string; /** * slug * * @method faker.lorem.slug * @param wordCount number of words, defaults to 3 */ slug(wordCount?: number): string; /** * sentences * * @method faker.lorem.sentences * @param sentenceCount defaults to a random number between 2 and 6 * @param separator defaults to `' '` */ sentences(sentenceCount?: number, separator?: string): string; /** * paragraph * * @method faker.lorem.paragraph * @param sentenceCount defaults to 3 */ paragraph(sentenceCount?: number): string; /** * paragraphs * * @method faker.lorem.paragraphs * @param paragraphCount defaults to 3 * @param separator defaults to `'\n \r'` */ paragraphs(paragraphCount?: number, separator?: string): string; /** * Returns random text based on a random lorem method * * @method faker.lorem.text * @param times */ text: (times?: number) => any; /** * Returns lines of lorem separated by `'\n'` * * @method faker.lorem.lines * @param lineCount defaults to a random number between 1 and 5 */ lines(lineCount?: number): string; }