/** * Generates a random percentage value between 0 and 100. * * @param decimals - Number of decimal places (default: 2, range: 0-10). * @returns A random percentage value. * * @throws {Error} If decimals is not an integer or not in range 0-10. * * @example * randomPercentage(); // 73.42 * * @example * randomPercentage(0); // 85 * * @example * randomPercentage(4); // 23.7691 * * @complexity Time: O(1), Space: O(1) */ export declare function randomPercentage(decimals?: number): number; //# sourceMappingURL=randomPercentage.d.ts.map