import { Types } from './Types.js'; import { Random } from './Random.js'; import { IDataMockInit, ILoremWordInit, ILoremSyllableInit, ILoremSentenceInit, ILoremSentencesInit, ILoremParagraphInit, ILoremParagraphsInit } from '../Types.js'; import { DataMockLocale } from '../../locales/Types.js'; export declare const randomValue: unique symbol; export declare const typesValue: unique symbol; export declare const localeValue: unique symbol; /** * A library that specializes in generating string values. */ export declare class Lorem { [typesValue]: Types; [randomValue]: Random; [localeValue]: DataMockLocale; /** * @param init The library init options. */ constructor(init?: IDataMockInit); seed(value?: number): void; /** * @param locale The locale to set. When nothing is passed then it uses the default locale. */ locale(locale?: DataMockLocale): void; word(init?: ILoremWordInit): string; /** * @param input The word to capitalize. * @returns Capitalized word. */ capitalize(input: string): string; /** * @returns A space separated list of words. */ words(length?: number): string; /** * @returns A sentence of words separated with a space. */ sentence(init?: ILoremSentenceInit): string; /** * @returns Generates sentences. */ sentences(init?: ILoremSentencesInit | number): string; /** * @param count The number of words in the slug. */ slug(count?: number): string; /** * @param init When number then it is a number of sentences in the paragraph. * @returns A paragraph of sentences. */ paragraph(init?: ILoremParagraphInit | number): string; /** * @returns A number of paragraphs. */ paragraphs(init?: ILoremParagraphsInit | number): string; /** * @returns A syllable or a number of syllables. */ syllable(init?: ILoremSyllableInit): string; /** * @returns A random text based on a random lorem method */ lorem(): string; } //# sourceMappingURL=Lorem.d.ts.map