//#region src/predict/ticks.d.ts /** +inf sentinel tick: the upper bound of an UP range. */ declare const POS_INF_TICK: bigint; type Side = 'up' | 'down'; declare function binaryRangeTicks(strikeRaw: bigint, side: Side, tickSize: bigint): { lowerTick: bigint; higherTick: bigint; }; /** * Snap a strike in USD to a market's admission grid (`MarketSummary.admissionTickSize`), the step * every new mint boundary must be a whole multiple of. Use it on a form's bound inputs: `'down'` * for a lower bound and `'up'` for an upper bound keep a range from shrinking past what was typed, * and `'nearest'` (the default) suits a single strike. Exact: it rounds in the 1e9-scaled integers * the chain uses, not in floating point. */ declare function snapStrike(price: number, admissionTickSize: number, mode?: 'down' | 'up' | 'nearest'): number; //#endregion export { POS_INF_TICK, Side, binaryRangeTicks, snapStrike }; //# sourceMappingURL=ticks.d.mts.map