UNPKG

fiction-word

Version:
13 lines (12 loc) 530 B
/** * @description Generates a sentence with a given length or a normally distributed number. * @param length - The given length of the sentence in words. * @returns The generated sentence. */ export declare const makeSentence: (length?: number) => string; /** * @description Generates a paragraph with a given length or a normally distributed number. * @param length - The given length of the paragraph in sentences. * @returns The generated paragraph. */ export declare const makeParagraph: (length?: number) => string;