/** * Generates a random number from a range with a specified step. * * @param min - The minimum value (inclusive). * @param max - The maximum value (inclusive). * @param step - The step size (default: 1). * @returns A random number from the range. * * @throws {Error} If parameters are invalid (NaN, min > max, step <= 0, etc.). * * @example * // Random from 0, 5, 10, 15, 20 * randomFromRange(0, 20, 5); // 10 * * @example * // Random from 0.0, 0.5, 1.0, 1.5, 2.0 * randomFromRange(0, 2, 0.5); // 1.5 * * @example * // Random even number from 2 to 10 * randomFromRange(2, 10, 2); // 6 * * @complexity Time: O(n) where n is (max-min)/step, Space: O(n) */ export declare function randomFromRange(min: number, max: number, step?: number): number; //# sourceMappingURL=randomFromRange.d.ts.map