of-the-king-the-power
Version:
A library for generating and working with glossolalia (speaking in tongues)
34 lines (33 loc) • 1.28 kB
TypeScript
/**
* Core types for the glossolalia generator
*/
export interface GlossolaliaOptions {
minLength?: number;
maxLength?: number;
includeIntro?: boolean;
intensity?: 'low' | 'medium' | 'high';
}
/**
* Generates a word in the angelic language
*/
export declare function generateWord(options?: GlossolaliaOptions): string;
/**
* Generates a phrase in the angelic language
*/
export declare function generatePhrase(wordCount?: number, options?: GlossolaliaOptions): string;
/**
* Generates a paragraph in the angelic language
*/
export declare function generateParagraph(sentenceCount?: number, options?: GlossolaliaOptions): string;
/**
* Generates a text with varying intensity
*/
export declare function generateText(options?: GlossolaliaOptions): string;
/**
* Generates Lorem Ipsum style text using the angelic language
* @param paragraphs Number of paragraphs to generate (default: 3)
* @param sentencesPerParagraph Number of sentences per paragraph (default: 5)
* @param wordsPerSentence Number of words per sentence (default: 8)
* @param options Additional options for text generation
*/
export declare function ofTheKing(paragraphs?: number, sentencesPerParagraph?: number, wordsPerSentence?: number, options?: GlossolaliaOptions): string;