UNPKG

@promptbook/google

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

32 lines (31 loc) 1.03 kB
import { MAX_LINGUISTIC_HASH_WORD_COUNT } from './linguisticHashWordSelection'; /** * The minimum number of words for a linguistic hash. * * @private utility of `linguisticHash` */ export declare const MIN_LINGUISTIC_HASH_WORD_COUNT = 1; /** * The default number of words for a linguistic hash. * * @private utility of `linguisticHash` */ export declare const DEFAULT_LINGUISTIC_HASH_WORD_COUNT = 7; /** * Normalizes the word count to a supported integer range. * * @private utility of `linguisticHash` */ export declare function normalizeLinguisticHashWordCount(wordCount?: number | null): number; export { MAX_LINGUISTIC_HASH_WORD_COUNT }; /** * Bundled helpers for linguistic hash word count handling. * * @private utility of `linguisticHash` */ export declare const linguisticHashWordCount: { DEFAULT_LINGUISTIC_HASH_WORD_COUNT: number; MAX_LINGUISTIC_HASH_WORD_COUNT: number; MIN_LINGUISTIC_HASH_WORD_COUNT: number; normalizeLinguisticHashWordCount: typeof normalizeLinguisticHashWordCount; };