/** * Returns the greatest common divisor (gcd) of a list of numbers. * The result is always positive even if one or more of the arguments are negative. * `gcd(0, x)` and `gcd(x, 0)` returns `Math.abs(x)`. * @param values - A list of numbers. * * @example * ```typescript * gcd(8, 36); // => 4 * gcd(-4, 6, 8); // => 2 * gcd(12, 8, 32); // => 4 * gcd(0, 12); // => 12 * gcd(12, 0, 8); // => 4 * ``` */ declare const gcd: (...values: number[]) => number; export default gcd; //# sourceMappingURL=gcd.d.ts.map