import { type IntegerType } from '@stacks/common'; import type { PoxInfo } from './types'; export type BondPhaseName = 'open' | 'locked' | 'unlocked' | 'finished'; export interface BondPhaseRange { name: BondPhaseName; startBurnHeight: number; length: number; endBurnHeight: number; } export declare function firstPox5RewardCycle(poxInfo: PoxInfo): number | undefined; export declare const BOND_END_OFFSET_PERIODS: number; export declare function bondPeriodToRewardCycle(opts: { bondIndex: number; poxInfo: PoxInfo; }): number; export declare function bondPeriodToBurnHeight(opts: { bondIndex: number; poxInfo: PoxInfo; }): number; export declare function burnHeightToRewardCycle(opts: { burnHeight: number; poxInfo: PoxInfo; }): number; export declare function rewardCycleToBurnHeight(opts: { rewardCycle: number; poxInfo: PoxInfo; }): number; export declare function burnHeightToDistributionIndex(opts: { burnHeight: number; poxInfo: PoxInfo; }): number; export declare function currentDistributionCycle(poxInfo: PoxInfo): number; export declare function distributionCycleToBurnHeight(opts: { distributionCycle: number; poxInfo: PoxInfo; }): number; export declare function isInPreparePhase(opts: { burnHeight: number; poxInfo: PoxInfo; }): boolean; export declare function minUstxForSatsAmount(opts: { sats: IntegerType; stxValueRatio: IntegerType; minUstxRatioBps: IntegerType; }): bigint; export declare function isBondActiveAtHeight(opts: { bondIndex: number; burnHeight: number; poxInfo: PoxInfo; }): boolean; export declare function bondPhaseRanges(opts: { bondIndex: number; poxInfo: PoxInfo; }): BondPhaseRange[]; export interface BurnHeightRange { startBurnHeight: number; length: number; endBurnHeight: number; } export type BondStatusName = BondPhaseName | 'too-early' | 'eligible' | 'missed'; export declare function bondStatus(opts: { bondIndex: number; poxInfo: PoxInfo; isBondSetup: boolean; }): BondStatusName;