import type { BuiltinNormalExpressions } from '../../../builtin/interface';
/**
 * Returns the prime factorization of a number as an array of its prime factors.
 * For example, factors(12) returns [2, 2, 3].
 * Special case: factors(1) returns an empty array [].
 *
 * @param n - A positive integer to factorize
 * @returns An array of prime factors in ascending order
 */
export declare function primeFactors(n: number): number[];
export declare const primeFactorsNormalExpressions: BuiltinNormalExpressions;
