import { type IntegerType } from '@stacks/common'; import type { NetworkClientParam } from '@stacks/network'; import { Pox5ErrorCode } from './errors'; import type { BondLockup, PoxInfo } from './types'; export type EligibilityResult = { ok: true; } | { ok: false; reasons: [Pox5ErrorCode, ...Pox5ErrorCode[]]; }; export declare function fetchEligibleRegisterForBond(opts: { bondIndex: number; staker: string; amountUstx: IntegerType; lockup: BondLockup; signerManager: string; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleSetBondAdmin(opts: { caller: string; } & NetworkClientParam): Promise; export declare function fetchEligibleSetupBond(opts: { bondIndex: number; allowlist: { staker: string; maxSats: IntegerType; }[]; caller: string; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleUpdateBondRegistration(opts: { staker: string; signerManager: string; oldSignerManager: string; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleAnnounceL1EarlyExit(opts: { staker: string; oldSignerManager: string; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleUnstakeSbtc(opts: { staker: string; signerManager: string; amountToWithdrawSats: IntegerType; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleStakeUpdate(opts: { staker: string; signerManager: string; oldSignerManager: string; cyclesToExtend?: number; amountIncrease?: IntegerType; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleUnstake(opts: { staker: string; oldSignerManager: string; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleCalculateRewards(opts: { bondIndices: number[]; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleClaimRewards(opts: { signerManager: string; rewardCycle: number; bondIndices: number[]; } & NetworkClientParam): Promise; export declare function fetchEligibleStake(opts: { staker: string; signerManager: string; amountUstx: IntegerType; numCycles: number; startBurnHt: number; poxInfo?: PoxInfo; } & NetworkClientParam): Promise; export declare function fetchEligibleGrantSignerKey(opts: { signerKey: Uint8Array | string; signerManager: string; authId: IntegerType; signerSignature: Uint8Array | string; } & NetworkClientParam): Promise; export declare function fetchEligibleRevokeSignerGrant(opts: { signerKey: Uint8Array | string; caller: string; } & NetworkClientParam): Promise;