import { BN, Provider, web3 } from '@coral-xyz/anchor'; import { ParsedStakeAccountInfo, ProcessedEpochInfo } from './anchor.types'; export declare const SYSTEM_PROGRAM_ID: web3.PublicKey; export declare const STAKE_PROGRAM_ID: web3.PublicKey; export declare const U64_MAX: BN; export declare function web3PubKeyOrNull(value: ConstructorParameters[0] | null): web3.PublicKey | null; export declare function BNOrNull(value: ConstructorParameters[0] | null): BN | null; export declare function getAssociatedTokenAccountAddress(mint: web3.PublicKey, owner: web3.PublicKey): Promise; export declare function getOrCreateAssociatedTokenAccount(anchorProvider: Provider, mintAddress: web3.PublicKey, ownerAddress: web3.PublicKey, payerAddress?: web3.PublicKey): Promise<{ associatedTokenAccountAddress: web3.PublicKey; createAssociateTokenInstruction: web3.TransactionInstruction | null; }>; export declare function getParsedStakeAccountInfo(providerOrConnection: Provider | web3.Connection, stakeAccountAddress: web3.PublicKey): Promise; export declare function getEpochInfo(connection: web3.Connection): Promise;