import { BinaryReader, BinaryWriter } from "../../../binary.js"; import { DeepPartial } from "../../../helpers.js"; import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination.js"; import { Deposit, DepositAmino, DepositParams, DepositParamsAmino, Proposal, ProposalAmino, ProposalStatus, TallyParams, TallyParamsAmino, TallyResult, TallyResultAmino, Vote, VoteAmino, VotingParams, VotingParamsAmino } from "./gov.js"; //#region src/cosmos/gov/v1beta1/query.d.ts /** * QueryProposalRequest is the request type for the Query/Proposal RPC method. * @name QueryProposalRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalRequest */ interface QueryProposalRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; } interface QueryProposalRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest"; value: Uint8Array; } /** * QueryProposalRequest is the request type for the Query/Proposal RPC method. * @name QueryProposalRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalRequest */ interface QueryProposalRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; } interface QueryProposalRequestAminoMsg { type: "cosmos-sdk/QueryProposalRequest"; value: QueryProposalRequestAmino; } /** * QueryProposalResponse is the response type for the Query/Proposal RPC method. * @name QueryProposalResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalResponse */ interface QueryProposalResponse { proposal: Proposal; } interface QueryProposalResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse"; value: Uint8Array; } /** * QueryProposalResponse is the response type for the Query/Proposal RPC method. * @name QueryProposalResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalResponse */ interface QueryProposalResponseAmino { proposal: ProposalAmino; } interface QueryProposalResponseAminoMsg { type: "cosmos-sdk/QueryProposalResponse"; value: QueryProposalResponseAmino; } /** * QueryProposalsRequest is the request type for the Query/Proposals RPC method. * @name QueryProposalsRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalsRequest */ interface QueryProposalsRequest { /** * proposal_status defines the status of the proposals. */ proposalStatus: ProposalStatus; /** * voter defines the voter address for the proposals. */ voter: string; /** * depositor defines the deposit addresses from the proposals. */ depositor: string; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequest; } interface QueryProposalsRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryProposalsRequest"; value: Uint8Array; } /** * QueryProposalsRequest is the request type for the Query/Proposals RPC method. * @name QueryProposalsRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalsRequest */ interface QueryProposalsRequestAmino { /** * proposal_status defines the status of the proposals. */ proposal_status: ProposalStatus; /** * voter defines the voter address for the proposals. */ voter: string; /** * depositor defines the deposit addresses from the proposals. */ depositor: string; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino; } interface QueryProposalsRequestAminoMsg { type: "cosmos-sdk/QueryProposalsRequest"; value: QueryProposalsRequestAmino; } /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. * @name QueryProposalsResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalsResponse */ interface QueryProposalsResponse { /** * proposals defines all the requested governance proposals. */ proposals: Proposal[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponse; } interface QueryProposalsResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryProposalsResponse"; value: Uint8Array; } /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. * @name QueryProposalsResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalsResponse */ interface QueryProposalsResponseAmino { /** * proposals defines all the requested governance proposals. */ proposals: ProposalAmino[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } interface QueryProposalsResponseAminoMsg { type: "cosmos-sdk/QueryProposalsResponse"; value: QueryProposalsResponseAmino; } /** * QueryVoteRequest is the request type for the Query/Vote RPC method. * @name QueryVoteRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVoteRequest */ interface QueryVoteRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * voter defines the voter address for the proposals. */ voter: string; } interface QueryVoteRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryVoteRequest"; value: Uint8Array; } /** * QueryVoteRequest is the request type for the Query/Vote RPC method. * @name QueryVoteRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVoteRequest */ interface QueryVoteRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * voter defines the voter address for the proposals. */ voter: string; } interface QueryVoteRequestAminoMsg { type: "cosmos-sdk/QueryVoteRequest"; value: QueryVoteRequestAmino; } /** * QueryVoteResponse is the response type for the Query/Vote RPC method. * @name QueryVoteResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVoteResponse */ interface QueryVoteResponse { /** * vote defines the queried vote. */ vote: Vote; } interface QueryVoteResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse"; value: Uint8Array; } /** * QueryVoteResponse is the response type for the Query/Vote RPC method. * @name QueryVoteResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVoteResponse */ interface QueryVoteResponseAmino { /** * vote defines the queried vote. */ vote: VoteAmino; } interface QueryVoteResponseAminoMsg { type: "cosmos-sdk/QueryVoteResponse"; value: QueryVoteResponseAmino; } /** * QueryVotesRequest is the request type for the Query/Votes RPC method. * @name QueryVotesRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVotesRequest */ interface QueryVotesRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequest; } interface QueryVotesRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryVotesRequest"; value: Uint8Array; } /** * QueryVotesRequest is the request type for the Query/Votes RPC method. * @name QueryVotesRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVotesRequest */ interface QueryVotesRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino; } interface QueryVotesRequestAminoMsg { type: "cosmos-sdk/QueryVotesRequest"; value: QueryVotesRequestAmino; } /** * QueryVotesResponse is the response type for the Query/Votes RPC method. * @name QueryVotesResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVotesResponse */ interface QueryVotesResponse { /** * votes defines the queried votes. */ votes: Vote[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponse; } interface QueryVotesResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryVotesResponse"; value: Uint8Array; } /** * QueryVotesResponse is the response type for the Query/Votes RPC method. * @name QueryVotesResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVotesResponse */ interface QueryVotesResponseAmino { /** * votes defines the queried votes. */ votes: VoteAmino[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } interface QueryVotesResponseAminoMsg { type: "cosmos-sdk/QueryVotesResponse"; value: QueryVotesResponseAmino; } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * @name QueryParamsRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryParamsRequest */ interface QueryParamsRequest { /** * params_type defines which parameters to query for, can be one of "voting", * "tallying" or "deposit". */ paramsType: string; } interface QueryParamsRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryParamsRequest"; value: Uint8Array; } /** * QueryParamsRequest is the request type for the Query/Params RPC method. * @name QueryParamsRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryParamsRequest */ interface QueryParamsRequestAmino { /** * params_type defines which parameters to query for, can be one of "voting", * "tallying" or "deposit". */ params_type: string; } interface QueryParamsRequestAminoMsg { type: "cosmos-sdk/QueryParamsRequest"; value: QueryParamsRequestAmino; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryParamsResponse */ interface QueryParamsResponse { /** * voting_params defines the parameters related to voting. */ votingParams: VotingParams; /** * deposit_params defines the parameters related to deposit. */ depositParams: DepositParams; /** * tally_params defines the parameters related to tally. */ tallyParams: TallyParams; } interface QueryParamsResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse"; value: Uint8Array; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryParamsResponse */ interface QueryParamsResponseAmino { /** * voting_params defines the parameters related to voting. */ voting_params: VotingParamsAmino; /** * deposit_params defines the parameters related to deposit. */ deposit_params: DepositParamsAmino; /** * tally_params defines the parameters related to tally. */ tally_params: TallyParamsAmino; } interface QueryParamsResponseAminoMsg { type: "cosmos-sdk/QueryParamsResponse"; value: QueryParamsResponseAmino; } /** * QueryDepositRequest is the request type for the Query/Deposit RPC method. * @name QueryDepositRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositRequest */ interface QueryDepositRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * depositor defines the deposit addresses from the proposals. */ depositor: string; } interface QueryDepositRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryDepositRequest"; value: Uint8Array; } /** * QueryDepositRequest is the request type for the Query/Deposit RPC method. * @name QueryDepositRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositRequest */ interface QueryDepositRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * depositor defines the deposit addresses from the proposals. */ depositor: string; } interface QueryDepositRequestAminoMsg { type: "cosmos-sdk/QueryDepositRequest"; value: QueryDepositRequestAmino; } /** * QueryDepositResponse is the response type for the Query/Deposit RPC method. * @name QueryDepositResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositResponse */ interface QueryDepositResponse { /** * deposit defines the requested deposit. */ deposit: Deposit; } interface QueryDepositResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse"; value: Uint8Array; } /** * QueryDepositResponse is the response type for the Query/Deposit RPC method. * @name QueryDepositResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositResponse */ interface QueryDepositResponseAmino { /** * deposit defines the requested deposit. */ deposit: DepositAmino; } interface QueryDepositResponseAminoMsg { type: "cosmos-sdk/QueryDepositResponse"; value: QueryDepositResponseAmino; } /** * QueryDepositsRequest is the request type for the Query/Deposits RPC method. * @name QueryDepositsRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositsRequest */ interface QueryDepositsRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequest; } interface QueryDepositsRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryDepositsRequest"; value: Uint8Array; } /** * QueryDepositsRequest is the request type for the Query/Deposits RPC method. * @name QueryDepositsRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositsRequest */ interface QueryDepositsRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; /** * pagination defines an optional pagination for the request. */ pagination?: PageRequestAmino; } interface QueryDepositsRequestAminoMsg { type: "cosmos-sdk/QueryDepositsRequest"; value: QueryDepositsRequestAmino; } /** * QueryDepositsResponse is the response type for the Query/Deposits RPC method. * @name QueryDepositsResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositsResponse */ interface QueryDepositsResponse { /** * deposits defines the requested deposits. */ deposits: Deposit[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponse; } interface QueryDepositsResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryDepositsResponse"; value: Uint8Array; } /** * QueryDepositsResponse is the response type for the Query/Deposits RPC method. * @name QueryDepositsResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositsResponse */ interface QueryDepositsResponseAmino { /** * deposits defines the requested deposits. */ deposits: DepositAmino[]; /** * pagination defines the pagination in the response. */ pagination?: PageResponseAmino; } interface QueryDepositsResponseAminoMsg { type: "cosmos-sdk/QueryDepositsResponse"; value: QueryDepositsResponseAmino; } /** * QueryTallyResultRequest is the request type for the Query/Tally RPC method. * @name QueryTallyResultRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryTallyResultRequest */ interface QueryTallyResultRequest { /** * proposal_id defines the unique id of the proposal. */ proposalId: bigint; } interface QueryTallyResultRequestProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest"; value: Uint8Array; } /** * QueryTallyResultRequest is the request type for the Query/Tally RPC method. * @name QueryTallyResultRequestAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryTallyResultRequest */ interface QueryTallyResultRequestAmino { /** * proposal_id defines the unique id of the proposal. */ proposal_id: string; } interface QueryTallyResultRequestAminoMsg { type: "cosmos-sdk/QueryTallyResultRequest"; value: QueryTallyResultRequestAmino; } /** * QueryTallyResultResponse is the response type for the Query/Tally RPC method. * @name QueryTallyResultResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryTallyResultResponse */ interface QueryTallyResultResponse { /** * tally defines the requested tally. */ tally: TallyResult; } interface QueryTallyResultResponseProtoMsg { typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse"; value: Uint8Array; } /** * QueryTallyResultResponse is the response type for the Query/Tally RPC method. * @name QueryTallyResultResponseAmino * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryTallyResultResponse */ interface QueryTallyResultResponseAmino { /** * tally defines the requested tally. */ tally: TallyResultAmino; } interface QueryTallyResultResponseAminoMsg { type: "cosmos-sdk/QueryTallyResultResponse"; value: QueryTallyResultResponseAmino; } /** * QueryProposalRequest is the request type for the Query/Proposal RPC method. * @name QueryProposalRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalRequest */ declare const QueryProposalRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalRequest; isAmino(o: any): o is QueryProposalRequestAmino; encode(message: QueryProposalRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest; fromPartial(object: DeepPartial): QueryProposalRequest; fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; toProto(message: QueryProposalRequest): Uint8Array; toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalResponse is the response type for the Query/Proposal RPC method. * @name QueryProposalResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalResponse */ declare const QueryProposalResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalResponse; isAmino(o: any): o is QueryProposalResponseAmino; encode(message: QueryProposalResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse; fromPartial(object: DeepPartial): QueryProposalResponse; fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; toProto(message: QueryProposalResponse): Uint8Array; toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalsRequest is the request type for the Query/Proposals RPC method. * @name QueryProposalsRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalsRequest */ declare const QueryProposalsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalsRequest; isAmino(o: any): o is QueryProposalsRequestAmino; encode(message: QueryProposalsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsRequest; fromPartial(object: DeepPartial): QueryProposalsRequest; fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest; toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino; fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest; toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg; fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest; toProto(message: QueryProposalsRequest): Uint8Array; toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryProposalsResponse is the response type for the Query/Proposals RPC * method. * @name QueryProposalsResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryProposalsResponse */ declare const QueryProposalsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryProposalsResponse; isAmino(o: any): o is QueryProposalsResponseAmino; encode(message: QueryProposalsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsResponse; fromPartial(object: DeepPartial): QueryProposalsResponse; fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse; toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino; fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse; toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg; fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse; toProto(message: QueryProposalsResponse): Uint8Array; toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryVoteRequest is the request type for the Query/Vote RPC method. * @name QueryVoteRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVoteRequest */ declare const QueryVoteRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryVoteRequest; isAmino(o: any): o is QueryVoteRequestAmino; encode(message: QueryVoteRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteRequest; fromPartial(object: DeepPartial): QueryVoteRequest; fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg; fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; toProto(message: QueryVoteRequest): Uint8Array; toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryVoteResponse is the response type for the Query/Vote RPC method. * @name QueryVoteResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVoteResponse */ declare const QueryVoteResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryVoteResponse; isAmino(o: any): o is QueryVoteResponseAmino; encode(message: QueryVoteResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteResponse; fromPartial(object: DeepPartial): QueryVoteResponse; fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg; fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; toProto(message: QueryVoteResponse): Uint8Array; toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryVotesRequest is the request type for the Query/Votes RPC method. * @name QueryVotesRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVotesRequest */ declare const QueryVotesRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryVotesRequest; isAmino(o: any): o is QueryVotesRequestAmino; encode(message: QueryVotesRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesRequest; fromPartial(object: DeepPartial): QueryVotesRequest; fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest; toAmino(message: QueryVotesRequest): QueryVotesRequestAmino; fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest; toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg; fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest; toProto(message: QueryVotesRequest): Uint8Array; toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryVotesResponse is the response type for the Query/Votes RPC method. * @name QueryVotesResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryVotesResponse */ declare const QueryVotesResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryVotesResponse; isAmino(o: any): o is QueryVotesResponseAmino; encode(message: QueryVotesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesResponse; fromPartial(object: DeepPartial): QueryVotesResponse; fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse; toAmino(message: QueryVotesResponse): QueryVotesResponseAmino; fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse; toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg; fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse; toProto(message: QueryVotesResponse): Uint8Array; toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryParamsRequest is the request type for the Query/Params RPC method. * @name QueryParamsRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryParamsRequest */ declare const QueryParamsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsRequest; isAmino(o: any): o is QueryParamsRequestAmino; encode(message: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; fromPartial(object: DeepPartial): QueryParamsRequest; fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; toProto(message: QueryParamsRequest): Uint8Array; toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryParamsResponse is the response type for the Query/Params RPC method. * @name QueryParamsResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryParamsResponse */ declare const QueryParamsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryParamsResponse; isAmino(o: any): o is QueryParamsResponseAmino; encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; fromPartial(object: DeepPartial): QueryParamsResponse; fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; toProto(message: QueryParamsResponse): Uint8Array; toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositRequest is the request type for the Query/Deposit RPC method. * @name QueryDepositRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositRequest */ declare const QueryDepositRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositRequest; isAmino(o: any): o is QueryDepositRequestAmino; encode(message: QueryDepositRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositRequest; fromPartial(object: DeepPartial): QueryDepositRequest; fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest; toAmino(message: QueryDepositRequest): QueryDepositRequestAmino; fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest; toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg; fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest; toProto(message: QueryDepositRequest): Uint8Array; toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositResponse is the response type for the Query/Deposit RPC method. * @name QueryDepositResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositResponse */ declare const QueryDepositResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositResponse; isAmino(o: any): o is QueryDepositResponseAmino; encode(message: QueryDepositResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositResponse; fromPartial(object: DeepPartial): QueryDepositResponse; fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse; toAmino(message: QueryDepositResponse): QueryDepositResponseAmino; fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse; toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg; fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse; toProto(message: QueryDepositResponse): Uint8Array; toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositsRequest is the request type for the Query/Deposits RPC method. * @name QueryDepositsRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositsRequest */ declare const QueryDepositsRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositsRequest; isAmino(o: any): o is QueryDepositsRequestAmino; encode(message: QueryDepositsRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsRequest; fromPartial(object: DeepPartial): QueryDepositsRequest; fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest; toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino; fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest; toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg; fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest; toProto(message: QueryDepositsRequest): Uint8Array; toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryDepositsResponse is the response type for the Query/Deposits RPC method. * @name QueryDepositsResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryDepositsResponse */ declare const QueryDepositsResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryDepositsResponse; isAmino(o: any): o is QueryDepositsResponseAmino; encode(message: QueryDepositsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsResponse; fromPartial(object: DeepPartial): QueryDepositsResponse; fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse; toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino; fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse; toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg; fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse; toProto(message: QueryDepositsResponse): Uint8Array; toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg; registerTypeUrl(): void; }; /** * QueryTallyResultRequest is the request type for the Query/Tally RPC method. * @name QueryTallyResultRequest * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryTallyResultRequest */ declare const QueryTallyResultRequest: { typeUrl: string; aminoType: string; is(o: any): o is QueryTallyResultRequest; isAmino(o: any): o is QueryTallyResultRequestAmino; encode(message: QueryTallyResultRequest, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest; fromPartial(object: DeepPartial): QueryTallyResultRequest; fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; toProto(message: QueryTallyResultRequest): Uint8Array; toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; registerTypeUrl(): void; }; /** * QueryTallyResultResponse is the response type for the Query/Tally RPC method. * @name QueryTallyResultResponse * @package cosmos.gov.v1beta1 * @see proto type: cosmos.gov.v1beta1.QueryTallyResultResponse */ declare const QueryTallyResultResponse: { typeUrl: string; aminoType: string; is(o: any): o is QueryTallyResultResponse; isAmino(o: any): o is QueryTallyResultResponseAmino; encode(message: QueryTallyResultResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse; fromPartial(object: DeepPartial): QueryTallyResultResponse; fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; toProto(message: QueryTallyResultResponse): Uint8Array; toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; registerTypeUrl(): void; }; //#endregion export { QueryDepositRequest, QueryDepositRequestAmino, QueryDepositRequestAminoMsg, QueryDepositRequestProtoMsg, QueryDepositResponse, QueryDepositResponseAmino, QueryDepositResponseAminoMsg, QueryDepositResponseProtoMsg, QueryDepositsRequest, QueryDepositsRequestAmino, QueryDepositsRequestAminoMsg, QueryDepositsRequestProtoMsg, QueryDepositsResponse, QueryDepositsResponseAmino, QueryDepositsResponseAminoMsg, QueryDepositsResponseProtoMsg, QueryParamsRequest, QueryParamsRequestAmino, QueryParamsRequestAminoMsg, QueryParamsRequestProtoMsg, QueryParamsResponse, QueryParamsResponseAmino, QueryParamsResponseAminoMsg, QueryParamsResponseProtoMsg, QueryProposalRequest, QueryProposalRequestAmino, QueryProposalRequestAminoMsg, QueryProposalRequestProtoMsg, QueryProposalResponse, QueryProposalResponseAmino, QueryProposalResponseAminoMsg, QueryProposalResponseProtoMsg, QueryProposalsRequest, QueryProposalsRequestAmino, QueryProposalsRequestAminoMsg, QueryProposalsRequestProtoMsg, QueryProposalsResponse, QueryProposalsResponseAmino, QueryProposalsResponseAminoMsg, QueryProposalsResponseProtoMsg, QueryTallyResultRequest, QueryTallyResultRequestAmino, QueryTallyResultRequestAminoMsg, QueryTallyResultRequestProtoMsg, QueryTallyResultResponse, QueryTallyResultResponseAmino, QueryTallyResultResponseAminoMsg, QueryTallyResultResponseProtoMsg, QueryVoteRequest, QueryVoteRequestAmino, QueryVoteRequestAminoMsg, QueryVoteRequestProtoMsg, QueryVoteResponse, QueryVoteResponseAmino, QueryVoteResponseAminoMsg, QueryVoteResponseProtoMsg, QueryVotesRequest, QueryVotesRequestAmino, QueryVotesRequestAminoMsg, QueryVotesRequestProtoMsg, QueryVotesResponse, QueryVotesResponseAmino, QueryVotesResponseAminoMsg, QueryVotesResponseProtoMsg };