@promptbook/google
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
23 lines (22 loc) • 761 B
TypeScript
import type { LinguisticHashWordLists } from './linguisticHashTypes';
/**
* The maximum number of words for a linguistic hash.
*
* @private utility of `linguisticHash`
*/
export declare const MAX_LINGUISTIC_HASH_WORD_COUNT: number;
/**
* Selects the requested number of words from the hash output.
*
* @private utility of `linguisticHash`
*/
export declare function createLinguisticHashWords(hash: string, wordCount: number, wordLists: LinguisticHashWordLists): string[];
/**
* Bundled helpers for the linguistic hash word selection module.
*
* @private utility of `linguisticHash`
*/
export declare const linguisticHashWordSelection: {
createLinguisticHashWords: typeof createLinguisticHashWords;
MAX_LINGUISTIC_HASH_WORD_COUNT: number;
};