import Big from 'big.js'; import { HDKey } from './hdkey/hdkey'; import { Secp256k1KeyPair } from './keypair/secp256k1'; import { CroNetwork } from './core/cro'; import { Units } from './coin/coin'; declare const _: { utils: { cloneUint8Array: (arr: Uint8Array) => Uint8Array; hash160: typeof import("./utils/hash").hash160; sha256: typeof import("./utils/hash").sha256; AddressType: typeof import("./utils/address").AddressType; AddressValidator: typeof import("./utils/address").AddressValidator; TxDecoder: typeof import("./utils/txDecoder").TxDecoder; Big: import("big.js").BigConstructor; Bytes: typeof import("./utils/bytes/bytes").Bytes; }; HDKey: typeof HDKey; Secp256k1KeyPair: typeof Secp256k1KeyPair; CroSDK: (configs: import("./core/cro").InitConfigurations) => { CroClient: { new (tmClient: import("@cosmjs/tendermint-rpc").Tendermint34Client, txClient: import("@cosmjs/stargate").StargateClient): { tmClient: import("@cosmjs/tendermint-rpc").Tendermint34Client; baseDenom: string; readonly txClient: import("@cosmjs/stargate").StargateClient; readonly queryClient: (import("@cosmjs/stargate").QueryClient & import("@cosmjs/stargate").AuthExtension & import("@cosmjs/stargate").BankExtension & import("@cosmjs/stargate").DistributionExtension & import("@cosmjs/stargate").StakingExtension) | undefined; disconnect(): void; query(): (import("@cosmjs/stargate").QueryClient & import("@cosmjs/stargate").AuthExtension & import("@cosmjs/stargate").BankExtension & import("@cosmjs/stargate").DistributionExtension & import("@cosmjs/stargate").StakingExtension) | undefined; getChainId(): Promise; getHeight(): Promise; getAccount(searchAddress: string): Promise; getAccountVerified(searchAddress: string): Promise; getSequence(address: string): Promise; getBlock(height?: number | undefined): Promise; getCroBalance(address: string): Promise; getTx(id: string): Promise; searchTx(query: import("@cosmjs/stargate").SearchTxQuery, filter?: import("@cosmjs/stargate").SearchTxFilter | undefined): Promise; broadcastTx(tx: Uint8Array): Promise; }; connect(endpoint?: string): Promise<{ tmClient: import("@cosmjs/tendermint-rpc").Tendermint34Client; baseDenom: string; readonly txClient: import("@cosmjs/stargate").StargateClient; readonly queryClient: (import("@cosmjs/stargate").QueryClient & import("@cosmjs/stargate").AuthExtension & import("@cosmjs/stargate").BankExtension & import("@cosmjs/stargate").DistributionExtension & import("@cosmjs/stargate").StakingExtension) | undefined; disconnect(): void; query(): (import("@cosmjs/stargate").QueryClient & import("@cosmjs/stargate").AuthExtension & import("@cosmjs/stargate").BankExtension & import("@cosmjs/stargate").DistributionExtension & import("@cosmjs/stargate").StakingExtension) | undefined; getChainId(): Promise; getHeight(): Promise; getAccount(searchAddress: string): Promise; getAccountVerified(searchAddress: string): Promise; getSequence(address: string): Promise; getBlock(height?: number | undefined): Promise; getCroBalance(address: string): Promise; getTx(id: string): Promise; searchTx(query: import("@cosmjs/stargate").SearchTxQuery, filter?: import("@cosmjs/stargate").SearchTxFilter | undefined): Promise; broadcastTx(tx: Uint8Array): Promise; }>; }; Coin: { new (amount: string, unit: Units): { readonly baseAmount: Big; readonly network: import("./network/network").Network; getNetwork(): import("./network/network").Network; add(anotherCoin: any): any; sub(anotherCoin: any): any; toBig(): Big; toCosmosCoin(): import("./cosmos/coins").Coin; toCosmosCoins(): import("./cosmos/coins").Coin[]; toString(unit?: Units): string; }; TOTAL_SUPPLY_STRING: string; TOTAL_SUPPLY: { readonly baseAmount: Big; readonly network: import("./network/network").Network; getNetwork(): import("./network/network").Network; add(anotherCoin: any): any; sub(anotherCoin: any): any; toBig(): Big; toCosmosCoin(): import("./cosmos/coins").Coin; toCosmosCoins(): import("./cosmos/coins").Coin[]; toString(unit?: Units): string; }; ONE_CRO_IN_BASE_UNIT: Big; UNIT_BASE: Units; UNIT_CRO: Units; parseBaseAmount(baseAmount: Big): Big; parseCROAmount(croAmount: Big): Big; fromBaseUnit(baseValue: string): { readonly baseAmount: Big; readonly network: import("./network/network").Network; getNetwork(): import("./network/network").Network; add(anotherCoin: any): any; sub(anotherCoin: any): any; toBig(): Big; toCosmosCoin(): import("./cosmos/coins").Coin; toCosmosCoins(): import("./cosmos/coins").Coin[]; toString(unit?: Units): string; }; fromCRO(croValue: string): { readonly baseAmount: Big; readonly network: import("./network/network").Network; getNetwork(): import("./network/network").Network; add(anotherCoin: any): any; sub(anotherCoin: any): any; toBig(): Big; toCosmosCoin(): import("./cosmos/coins").Coin; toCosmosCoins(): import("./cosmos/coins").Coin[]; toString(unit?: Units): string; }; }; RawTransaction: { new (): { readonly txBody: import("./cosmos/v1beta1/types/tx").TxBody; readonly authInfo: import("./cosmos/v1beta1/types/tx").AuthInfo; readonly network: import("./network/network").Network; readonly signerAccounts: import("./transaction/types").SignerAccount[]; addMessage(message: import("./transaction/msg/cosmosMsg").CosmosMsg): any; appendMessage(message: import("./transaction/msg/cosmosMsg").CosmosMsg): any; setMemo(memo: string): any; setGasLimit(gasLimit: string): any; setFee(fee: import("./coin/coin").ICoin): any; setTimeOutHeight(timeoutHeight: string): any; addSigner(signer: import("./transaction/raw").TransactionSigner): any; toSignable(): import("./transaction/signable").SignableTransaction; getTxBody(): Readonly; getAuthInfo(): Readonly; getNetwork(): Readonly; getSignerAccounts(): readonly import("./transaction/types").SignerAccount[]; }; }; Address: { new (pubKeySource: import("./address/address").AccountPubKeySource): { readonly pubKeyDigest: import("./utils/bytes/bytes").Bytes; account(): string; validator(): string; }; }; gov: { MsgDeposit: { new (options: import("./transaction/msg/gov/MsgDeposit").MsgDepositOptions): { proposalId: Big; depositor: string; amount: import("./coin/coin").ICoin; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validate(): void; }; }; MsgVote: { new (options: import("./transaction/msg/gov/MsgVote").MsgVoteOptions): { proposalId: Big; voter: string; option: import("./transaction/msg/gov/MsgVote").VoteOption; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validate(): void; }; }; MsgSubmitProposal: { new (options: import("./transaction/msg/gov/MsgSubmitProposal").ProposalOptions): { readonly proposer: string; readonly initialDeposit: import("./coin/coin").ICoin; readonly content: import("./transaction/msg/gov/IMsgProposalContent").IMsgProposalContent; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validate(): void; }; }; proposal: { CommunityPoolSpendProposal: { new (options: import("./transaction/msg/gov/CommunityPoolSpendProposal").CommunityPoolSpendProposalOptions): { title: string; description: string; recipient: string; amount: import("./coin/coin").ICoin; getEncoded(): import("./cosmos/v1beta1/codec").google.protobuf.Any; validate(): void; }; }; ParamChangeProposal: { new (options: import("./transaction/msg/gov/ParamChangeProposal").ParamChangeProposalOptions): { readonly title: string; readonly description: string; readonly paramChanges: import("./transaction/msg/gov/ParamChangeProposal").ParamChange[]; getEncoded(): import("./cosmos/v1beta1/codec").google.protobuf.Any; }; }; CancelSoftwareUpgradeProposal: { new (options: import("./transaction/msg/gov/proposal/CancelSoftwareUpgradeProposal").CancelSoftwareUpgradeProposalOptions): { title: string; description: string; getEncoded(): import("./cosmos/v1beta1/codec").google.protobuf.Any; }; }; SoftwareUpgradeProposal: { new (options: import("./transaction/msg/gov/proposal/SoftwareUpgradeProposal").SoftwareUpgradeProposalOptions): { title: string; description: string; plan?: import("./transaction/msg/gov/proposal/SoftwareUpgradeProposal").IPlan | undefined; getEncoded(): import("./cosmos/v1beta1/codec").google.protobuf.Any; }; }; TextProposal: { new (options: import("./transaction/msg/gov/proposal/TextProposal").TextProposalOptions): { title: string; description: string; getEncoded(): import("./cosmos/v1beta1/codec").google.protobuf.Any; }; }; }; }; bank: { MsgSend: { new (options: import("./transaction/msg/bank/msgsend").MsgSendOptions): { readonly fromAddress: string; readonly toAddress: string; amount: import("./coin/coin").ICoin; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; toRawAminoMsg(): import("./cosmos/amino").Msg; validateAddresses(): void; }; }; }; staking: { MsgCreateValidator: { new (options: import("./transaction/msg/staking/MsgCreateValidator").MsgCreateValidatorParams): { readonly description: import("./transaction/common/interface/IDescription").IDescription; readonly commission: import("./transaction/common/interface/ICommissionRates").ICommissionRates; minSelfDelegation: string; delegatorAddress: string; validatorAddress: string; pubkey: string; value: import("./coin/coin").ICoin; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgEditValidator: { new (options: import("./transaction/msg/staking/MsgEditValidator").MsgCreateEditOptions): { readonly description: import("./transaction/common/interface/IDescription").IDescription; minSelfDelegation: string | null; commissionRate: string | null; validatorAddress: string; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgDelegate: { new (options: import("./transaction/msg/staking/MsgDelegate").IMsgDelegate): { delegatorAddress: string; validatorAddress: string; amount: import("./coin/coin").ICoin; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgUndelegate: { new (options: import("./transaction/msg/staking/MsgUndelegate").IMsgUndelegate): { delegatorAddress: string; validatorAddress: string; amount: import("./coin/coin").ICoin; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgBeginRedelegate: { new (options: import("./transaction/msg/staking/MsgBeginRedelegate").IMsgBeginRedelgate): { delegatorAddress: string; validatorSrcAddress: string; validatorDstAddress: string; amount: import("./coin/coin").ICoin; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; }; distribution: { MsgWithdrawValidatorCommission: { new (options: import("./transaction/msg/distribution/MsgWithdrawValidatorCommission").MsgWithdrawValidatorCommissionOptions): { readonly validatorAddress: string; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgWithdrawDelegatorReward: { new (options: import("./transaction/msg/distribution/MsgWithdrawDelegatorReward").MsgWithdrawDelegatorRewardOptions): { readonly delegatorAddress: string; readonly validatorAddress: string; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgSetWithdrawAddress: { new (options: import("./transaction/msg/distribution/MsgSetWithdrawAddress").MsgSetWithdrawAddressOptions): { readonly delegatorAddress: string; readonly withdrawAddress: string; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; MsgFundCommunityPool: { new (options: import("./transaction/msg/distribution/MsgFundCommunityPool").MsgFundCommunityPoolOptions): { readonly depositor: string; amount: import("./coin/coin").ICoin; toRawAminoMsg(): import("./cosmos/amino").Msg; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; validateAddresses(): void; }; }; }; nft: { MsgIssueDenom: { new (options: import("./transaction/msg/nft/MsgIssueDenom").MsgIssueDenomOptions): { readonly id: string; readonly name: string; readonly schema: string; readonly sender: string; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; toRawAminoMsg(): import("./cosmos/amino").Msg; validateAddress(): void; }; }; MsgMintNFT: { new (options: import("./transaction/msg/nft/MsgMintNFT").MsgMintNFTOptions): { id: string; denomId: string; name: string; uri: string; data: string; sender: string; recipient: string; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; toRawAminoMsg(): import("./cosmos/amino").Msg; validateAddresses(): void; }; }; MsgEditNFT: { new (options: import("./transaction/msg/nft/MsgEditNFT").MsgEditNFTOptions): { id: string; denomId: string; name: string; uri: string; data: string; sender: string; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; toRawAminoMsg(): import("./cosmos/amino").Msg; validateAddresses(): void; }; }; MsgTransferNFT: { new (options: import("./transaction/msg/nft/MsgTransferNFT").MsgTransferNFTOptions): { id: string; denomId: string; sender: string; recipient: string; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; toRawAminoMsg(): import("./cosmos/amino").Msg; validateAddresses(): void; }; }; MsgBurnNFT: { new (options: import("./transaction/msg/nft/MsgBurnNFT").MsgBurnNFTOptions): { id: string; denomId: string; sender: string; toRawMsg(): import("./cosmos/v1beta1/types/msg").Msg; toRawAminoMsg(): import("./cosmos/amino").Msg; validateAddress(): void; }; }; }; Options: import("./core/cro").InitConfigurations; }; CroNetwork: typeof CroNetwork; Units: typeof Units; }; export = _; //# sourceMappingURL=index.d.ts.map