/** * Computes Euler's Totient Function, which gives the count of numbers less than or equal to `n` * that are coprime to `n`. * @param n - The input number. * @returns The count of numbers coprime to `n`. * @throws Will throw an error if `n` is not a positive integer. */ declare function totient(n: number): number; export { totient };