/** * Map a desired price `step` to Hyperliquid's server-side aggregation hint * `(nSigFigs, mantissa)` against the order of magnitude of `referencePrice` * (the market's mark price gives the digit count). HL buckets the book to * `nSigFigs` significant figures, so the figures resolving a price to `step` * granularity are `floor(log10(referencePrice)) - floor(log10(step)) + 1`. * * Returns `{}` (full precision) when the step is finer than HL's 5-sig-fig * grid or the inputs are unusable; clamps to {@link HL_MIN_SIG_FIGS} when the * step is coarser than HL's lowest granularity. `mantissa` is emitted only for * a non-power-of-ten step that lands on the 5-sig-fig grid, since HL ignores * it below `nSigFigs === 5`. * * @public */ export declare function priceStepToAggregation(step: number, referencePrice: number): { nSigFigs?: number; mantissa?: number; }; //# sourceMappingURL=priceStepToAggregation.d.ts.map