import { ResultAsync } from "neverthrow"; import { ChainId } from "../ChainId"; import { BlockchainUnavailableError, InvalidParametersError, ProxyError, HypernetGovernorContractError, ERC20ContractError, GovernanceSignerUnavailableError, IPFSUnavailableError } from "../errors"; import { EthereumAccountAddress } from "../EthereumAccountAddress"; import { Proposal, ProposalVoteReceipt } from "../Proposal"; import { EProposalVoteSupport } from "../typing"; import { IpfsCID } from "../IpfsCID"; import { InitializeStatus } from "../InitializeStatus"; export interface IHypernetGovernance { governanceInitialized(chainId?: ChainId): ResultAsync; waitGovernanceInitialized(chainId?: ChainId): ResultAsync; initializeGovernance(chainId?: ChainId): ResultAsync; getProposals(pageNumber: number, pageSize: number): ResultAsync; createProposal(name: string, symbol: string, owner: EthereumAccountAddress, enumerable: boolean): ResultAsync; delegateVote(delegateAddress: EthereumAccountAddress, amount: number | null): ResultAsync; getProposalDetails(proposalId: string): ResultAsync; getProposalDescription(descriptionHash: IpfsCID): ResultAsync; castVote(proposalId: string, support: EProposalVoteSupport): ResultAsync; getProposalVotesReceipt(proposalId: string, voterAddress: EthereumAccountAddress): ResultAsync; getProposalsCount(): ResultAsync; getProposalThreshold(): ResultAsync; getVotingPower(account: EthereumAccountAddress): ResultAsync; getHyperTokenBalance(account: EthereumAccountAddress): ResultAsync; queueProposal(proposalId: string): ResultAsync; cancelProposal(proposalId: string): ResultAsync; executeProposal(proposalId: string): ResultAsync; } //# sourceMappingURL=IHypernetGovernance.d.ts.map