import { DatatypeModule } from "../datatype"; export declare type WordsProps = { count?: number; }; export declare type ParagraphProps = { count?: number; }; export declare type SlugProps = { wordCount?: number; }; export declare type SentencesProps = { sentencesCount?: number; separator?: string; wordsMax?: number; wordsMin?: number; }; export declare type SentenceProps = { wordsMax?: number; wordsMin?: number; }; export declare type ParagraphsProps = { paragraphsCount?: number; separator?: string; minSentences?: number; maxSentences?: number; }; export declare class LoremModule { private readonly datatypeModule; constructor(datatypeModule: DatatypeModule); /** * @param args.paragraphsCount Number of paragraphs. Default `3` * @param args.separator Separator between paragraphs. Default `\n` * @param args.maxSentences Maximun of sentences of each paragraphs * @param args.minSentences Min of sentences of each paragraphs * * @example modules.lorem.paragraphs() * @returns string */ paragraphs({ maxSentences, minSentences, paragraphsCount, separator: iseparator, }?: ParagraphsProps): string; /** * @param args.sentencesCount Number of sentences. Default in `3` * @param args.separator Separator between sentences. Default `\n` * @param args.wordsMin Minimun of words in each sentence * @param args.wordsMax Maximun of words in each sentence * * @example modules.lorem.sentences() * @returns */ sentences({ sentencesCount, separator: iseparator, wordsMax, wordsMin, }?: SentencesProps): string; /** * @param args.wordCount Number of words in the slug. Default `3` * @example modules.lorem.slug() // 'lorem-ipsum-ad' * @returns string */ slug({ wordCount }?: SlugProps): string; /** * * @param args.count Number or words. * @example modules.lorem.words() // 'lorem ipsum in' * @returns string */ words({ count: icount }?: WordsProps): string; /** * Generates a word . * * @example * modules.lorem.word() // 'temporibus' */ word(): string; /** * Generates a paragraph with the given number of sentences. * * @param args.count The number of sentences to generate. * * @example * modules.lorem.paragraph() * */ paragraph({ count: icount }?: ParagraphProps): string; /** * Generates a single sentence. * * @param args.wordsMin Minimun of words * @param args.wordsMax Maximun of words * * @example * modules.lorem.sentence() // 'Voluptatum cupiditate suscipit autem eveniet aut dolorem aut officiis distinctio.' * modules.lorem.sentence(5) // 'Laborum voluptatem officiis est et.' * modules.lorem.sentence({ min: 3, max: 5 }) // 'Fugiat repellendus nisi.' */ sentence({ wordsMax, wordsMin }?: SentenceProps): string; }