import BigNumberJs from 'bignumber.js'; type BigNumber = InstanceType; declare const BigNumber: typeof BigNumberJs; import { BakingRightsQueryArguments, BakingRightsResponse, BalanceResponse, UnstakeRequestsResponse, BallotListResponse, BallotsResponse, BigMapResponse, BlockHeaderResponse, BlockMetadata, BlockResponse, ConstantsResponse, ContractResponse, CurrentProposalResponse, CurrentQuorumResponse, DelegateResponse, DelegatesResponse, AttestationRightsQueryArguments, AttestationRightsResponse, EntrypointsResponse, ForgeOperationsParams, ManagerKeyResponse, OperationHash, PackDataParams, PreapplyParams, PreapplyResponse, ProposalsResponse, ProtocolsResponse, RPCRunCodeParam, RPCRunScriptViewParam, RPCRunViewParam, RunCodeResult, RunScriptViewResult, RunViewResult, SaplingDiffResponse, ScriptResponse, StorageResponse, UnparsingMode, VotesListingsResponse, VotingInfoResponse, VotingPeriodBlockResult, TicketTokenParams, AllTicketBalances, PendingOperationsV2, PendingOperationsQueryArguments, MempoolFilterQueryArguments, MempoolFilterResponse, RPCSimulateOperationParam, AILaunchCycleResponse, AllDelegatesQueryArguments, ProtocolActivationsResponse, ActiveStakingParametersResponse, PendingStakingParametersResponse, DestinationIndexResponse } from './types'; export interface RPCOptions { block: string; version?: 1 | '1'; } export declare const defaultChain = "main"; export declare const defaultRPCOptions: RPCOptions; export interface RpcClientInterface { getBlockHash(options?: RPCOptions): Promise; getLiveBlocks(options?: RPCOptions): Promise; getBalance(address: string, options?: RPCOptions): Promise; getSpendable(address: string, options?: RPCOptions): Promise; getBalanceAndFrozenBonds(address: string, options?: RPCOptions): Promise; getSpendableAndFrozenBonds(address: string, options?: RPCOptions): Promise; getFullBalance(address: string, options?: RPCOptions): Promise; getStakedBalance(address: string, options?: RPCOptions): Promise; getUnstakedFinalizableBalance(address: string, options?: RPCOptions): Promise; getUnstakedFrozenBalance(address: string, options?: RPCOptions): Promise; getUnstakeRequests(address: string, options?: RPCOptions): Promise; getStorage(address: string, options?: RPCOptions): Promise; getScript(address: string, options?: RPCOptions): Promise; getNormalizedScript(address: string, unparsingMode?: UnparsingMode, options?: RPCOptions): Promise; getContract(address: string, options?: RPCOptions): Promise; getManagerKey(address: string, options?: RPCOptions): Promise; getDelegate(address: string, options?: RPCOptions): Promise; getBigMapExpr(id: string, expr: string, options?: RPCOptions): Promise; getAllDelegates(args: AllDelegatesQueryArguments, options?: RPCOptions): Promise; getDelegates(address: string, options?: RPCOptions): Promise; getVotingInfo(address: string, options?: RPCOptions): Promise; getConstants(options?: RPCOptions): Promise; getBlock(options?: RPCOptions): Promise; getBlockHeader(options?: RPCOptions): Promise; getBlockMetadata(options?: RPCOptions): Promise; getBakingRights(args: BakingRightsQueryArguments, options?: RPCOptions): Promise; getAttestationRights(args: AttestationRightsQueryArguments, options?: RPCOptions): Promise; getBallotList(options?: RPCOptions): Promise; getBallots(options?: RPCOptions): Promise; getCurrentProposal(options?: RPCOptions): Promise; getCurrentQuorum(options?: RPCOptions): Promise; getVotesListings(options?: RPCOptions): Promise; getProposals(options?: RPCOptions): Promise; forgeOperations(data: ForgeOperationsParams, options?: RPCOptions): Promise; injectOperation(signedOpBytes: string): Promise; preapplyOperations(ops: PreapplyParams, options?: RPCOptions): Promise; getEntrypoints(contract: string, options?: RPCOptions): Promise; simulateOperation(op: RPCSimulateOperationParam, options?: RPCOptions): Promise; runCode(code: RPCRunCodeParam, options?: RPCOptions): Promise; runScriptView(viewScriptParams: RPCRunScriptViewParam, options?: RPCOptions): Promise; runView(viewParams: RPCRunViewParam, options?: RPCOptions): Promise; getChainId(): Promise; packData(data: PackDataParams, options?: RPCOptions): Promise<{ packed: string; gas: BigNumber | 'unaccounted' | undefined; }>; getRpcUrl(): string; getCurrentPeriod(options?: RPCOptions): Promise; getSuccessorPeriod(options?: RPCOptions): Promise; getSaplingDiffById(id: string, options?: RPCOptions): Promise; getSaplingDiffByContract(contract: string, options?: RPCOptions): Promise; getProtocols(options?: RPCOptions): Promise; getProtocolActivations(protocol?: string): Promise; getStorageUsedSpace(contract: string, options?: RPCOptions): Promise; getStoragePaidSpace(contract: string, options?: RPCOptions): Promise; getTicketBalance(contract: string, ticket: TicketTokenParams, options?: RPCOptions): Promise; getAllTicketBalances(contract: string, options?: RPCOptions): Promise; getAdaptiveIssuanceLaunchCycle(options?: RPCOptions): Promise; getPendingOperations(args: PendingOperationsQueryArguments): Promise; getMempoolFilter(args?: MempoolFilterQueryArguments): Promise; getActiveStakingParameters(delegate: string, options?: RPCOptions): Promise; getPendingStakingParameters(delegate: string, options?: RPCOptions): Promise; getDestinationIndex(destination: string, options?: RPCOptions): Promise; } export declare enum RPCMethodName { GET_BAKING_RIGHTS = "getBakingRights", GET_BALLOTS = "getBallots", GET_BALLOT_LIST = "getBallotList", GET_BIG_MAP_EXPR = "getBigMapExpr", GET_BLOCK_HASH = "getBlockHash", GET_BLOCK = "getBlock", GET_BLOCK_HEADER = "getBlockHeader", GET_BLOCK_METADATA = "getBlockMetadata", GET_BALANCE = "getBalance", GET_SPENDABLE = "getSpendable", GET_BALANCE_AND_FROZEN_BONDS = "getBalanceAndFrozenBonds", GET_SPENDABLE_AND_FROZEN_BONDS = "getSpendableAndFrozenBonds", GET_FULL_BALANCE = "getFullBalance", GET_STAKED_BALANCE = "getStakedBalance", GET_UNSTAKED_FINALIZABLE_BALANCE = "getUnstakedFinalizableBalance", GET_UNSTAKED_FROZEN_BALANCE = "getUnstakedFrozenBalance", GET_UNSTAKE_REQUESTS = "getUnstakeRequests", GET_CHAIN_ID = "getChainId", GET_CONSTANTS = "getConstants", GET_CONTRACT = "getContract", GET_CURRENT_PERIOD = "getCurrentPeriod", GET_CURRENT_PROPOSAL = "getCurrentProposal", GET_CURRENT_QUORUM = "getCurrentQuorum", GET_DELEGATE = "getDelegate", GET_ALL_DELEGATES = "getAllDelegates", GET_DELEGATES = "getDelegates", GET_VOTING_INFO = "getVotingInfo", GET_ACTIVE_STAKING_PARAMETERS = "getActiveStakingParameters", GET_PENDING_STAKING_PARAMETERS = "getPendingStakingParameters", GET_ATTESTATION_RIGHTS = "getAttestationRights", GET_ENTRYPOINTS = "getEntrypoints", GET_LIVE_BLOCKS = "getLiveBlocks", GET_MANAGER_KEY = "getManagerKey", GET_NORMALIZED_SCRIPT = "getNormalizedScript", GET_PROPOSALS = "getProposals", GET_PROTOCOLS = "getProtocols", GET_SAPLING_DIFF_BY_CONTRACT = "getSaplingDiffByContract", GET_PROTOCOL_ACTIVATIONS = "getProtocolActivations", GET_SAPLING_DIFF_BY_ID = "getSaplingDiffById", GET_SCRIPT = "getScript", GET_STORAGE = "getStorage", GET_SUCCESSOR_PERIOD = "getSuccessorPeriod", GET_VOTES_LISTINGS = "getVotesListings", PACK_DATA = "packData", GET_STORAGE_USED_SPACE = "getStorageUsedSpace", GET_STORAGE_PAID_SPACE = "getStoragePaidSpace", GET_TICKET_BALANCE = "getTicketBalance", GET_ALL_TICKET_BALANCES = "getAllTicketBalances", GET_ADAPTIVE_ISSUANCE_LAUNCH_CYCLE = "getAdaptiveIssuanceLaunchCycle", GET_PENDING_OPERATIONS = "getPendingOperations", GET_MEMPOOL_FILTER = "getMempoolFilter", GET_DESTINATION_INDEX = "getDestinationIndex" } export {};