/** * Generate a number that is a multiple of a decimal step inside a range. * * The quotient range is computed exactly, nearby candidates are tested for * being doubles that the multiple test accepts, and further candidates are * searched across exponent bands when none is found. It throws when the range * is empty or its bounded search finds no accepted candidate. * * The optional source supplies draws in [0, 1); it defaults to the platform * source resolved when this helper is called. Nested draws use the same * source. * * @evidence contracts/common.md#principled-implementation The step is read as a decimal and exact bigint ratios determine inclusive or exclusive quotient bounds. Selected, boundary and nearby quotients are converted to numbers and checked against the requested bounds and exact multiple predicate. Fallbacks search integer binary exponent bands and decimal exponents -324 through 308 with coefficients limited to fifteen digits. A returned candidate passes the predicate; failure of the bounded candidate search is not a proof that every possible decimal representation was examined. * @evidence contracts/common.md#clear-and-simple-design One public function and many private helpers for bounds, candidates and alignment, each used by the search; the search is long because doubles cannot represent every decimal multiple. * @evidence contracts/common.md#prohibited-implementation-shortcuts The final check uses the same predicate as the validator. Empty ranges and unsuccessful bounded searches throw; no candidate is accepted merely because it was sampled or rounded. * @evidence contracts/common.md#meaningful-documentation The doc states the exact quotient range, the candidate search and the failure case; the private helpers are covered by this function's answer. */ export declare const _randomMultiple: (props: { minimum: number; maximum: number; multipleOf: number; exclusiveMinimum: boolean; exclusiveMaximum: boolean; integer: boolean; }, source?: () => number) => number;