import { StdFee } from "../../../types.js"; import { MsgCancelProposal, MsgDeposit, MsgExecLegacyContent, MsgSubmitProposal, MsgUpdateParams, MsgVote, MsgVoteWeighted } from "./tx.js"; import "../../../index.js"; import * as _interchainjs_cosmos0 from "@interchainjs/cosmos"; import * as _interchainjs_types0 from "@interchainjs/types"; //#region src/cosmos/gov/v1/tx.rpc.func.d.ts /** * SubmitProposal defines a method to create new proposal given the messages. * @name submitProposal * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.SubmitProposal */ declare const submitProposal: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgSubmitProposal | MsgSubmitProposal[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; /** * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal * to execute a legacy content-based proposal. * @name execLegacyContent * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.ExecLegacyContent */ declare const execLegacyContent: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgExecLegacyContent | MsgExecLegacyContent[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; /** * Vote defines a method to add a vote on a specific proposal. * @name vote * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.Vote */ declare const vote: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgVote | MsgVote[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; /** * VoteWeighted defines a method to add a weighted vote on a specific proposal. * @name voteWeighted * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.VoteWeighted */ declare const voteWeighted: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgVoteWeighted | MsgVoteWeighted[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; /** * Deposit defines a method to add deposit on a specific proposal. * @name deposit * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.Deposit */ declare const deposit: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgDeposit | MsgDeposit[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; /** * UpdateParams defines a governance operation for updating the x/gov module * parameters. The authority is defined in the keeper. * @name updateParams * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.UpdateParams */ declare const updateParams: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; /** * CancelProposal defines a method to cancel governance proposal * @name cancelProposal * @package cosmos.gov.v1 * @see proto service: cosmos.gov.v1.CancelProposal */ declare const cancelProposal: (client: _interchainjs_cosmos0.ISigningClient, signerAddress: string, message: MsgCancelProposal | MsgCancelProposal[], fee: StdFee | "auto", memo: string) => Promise<_interchainjs_types0.DeliverTxResponse>; //#endregion export { cancelProposal, deposit, execLegacyContent, submitProposal, updateParams, vote, voteWeighted };