type optionsType = Partial<{
  lengthMin: number;
}>;

/**
 * Break down text string into array of words.
 * @param text
 * @param optionsArg Miscellaneous options.
 * @throws Error if `wordsArray` length is less than `options.lengthMin`.
 * @returns Array of words.
 */
declare function tokenizeWords(
  text: string,
  optionsArg?: optionsType
): string[];

export { tokenizeWords as default };
