import { Config } from "../../config";
type FrequencyMap = Map<string, number>;
/**
 * Find frequency of a given word in a block of text.
 *
 * @param {string} text - The text to parse.
 * @param {string} word - The word to check the frequency of.
 * @param {Config} config - Configuration for the word counter
 */
export declare const singleFrequencyCount: (text: string, word: string, config?: Config) => number;
/**
 * Count frequency of all words in a block of text.
 *
 * @param {string} text - The text to parse.
 * @param {Config} config - Configuration for the word counter
 */
export declare const allFrequencyCount: (text: string, config?: Config) => FrequencyMap;
export {};
