/** * CCA floor price = raw-currency-per-raw-token in Q96: * `floorX96 = humanFloor * 10^currencyDecimals / 10^tokenDecimals * 2^96`. */ export declare function floorPriceToX96(humanFloorRaisePerToken: string, tokenDecimals: number, currencyDecimals: number): bigint; /** Graduation threshold: currency needed to clear the whole auction supply at the floor. */ export declare function requiredCurrencyRaised(floorPriceX96: bigint, auctionSupply: bigint): bigint; /** * Converts a target FDV in USD into the canonical raise-currency-per-1-token decimal string the * CreateAuction API expects (`floor_price_raise_per_token` / `graduation_price_raise_per_token`): * `pricePerToken = (fdvUsd / totalSupplyWholeTokens) / raiseCurrencyUsdPrice`. * * The result is a plain decimal (the liquidity service rejects scientific notation). Unit * discipline: this converts an FDV (a price over the FULL supply) — the USD actually raised at * that price is `fdvUsd x soldSupplyShare`, never `fdvUsd` itself. */ export declare function fdvUsdToPricePerToken(fdvUsd: number, totalSupplyWholeTokens: bigint | number, raiseCurrencyUsdPrice: number): string; /** Derives the CCA price-tick granularity from the floor price (minimum 1). */ export declare function deriveAuctionTickSpacing(floorPriceX96: bigint): bigint; /** * Derives the CCA tick spacing AND snaps the floor price DOWN to the nearest tick boundary. The CCA * constructor seeds the floor as the first tick and requires `floorPrice % tickSpacing == 0` * (otherwise it reverts `TickPriceNotAtBoundary`). The on-chain floor drifts at most one tick below * the requested price (< 1/AUCTION_TICK_DIVISOR). */ export declare function deriveAuctionPricing(rawFloorPriceX96: bigint): { floorPriceX96: bigint; tickSpacing: bigint; };