import { QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryAuthorityRequest, QueryAuthorityResponse, QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query.js"; import { EndpointOrRpc } from "../../../helper-func-types.js"; import "../../../index.js"; //#region src/cosmos/upgrade/v1beta1/query.rpc.func.d.ts /** * CurrentPlan queries the current upgrade plan. * @name getCurrentPlan * @package cosmos.upgrade.v1beta1 * @see proto service: cosmos.upgrade.v1beta1.CurrentPlan */ declare const getCurrentPlan: (client: EndpointOrRpc, request: QueryCurrentPlanRequest) => Promise; /** * AppliedPlan queries a previously applied upgrade plan by its name. * @name getAppliedPlan * @package cosmos.upgrade.v1beta1 * @see proto service: cosmos.upgrade.v1beta1.AppliedPlan */ declare const getAppliedPlan: (client: EndpointOrRpc, request: QueryAppliedPlanRequest) => Promise; /** * UpgradedConsensusState queries the consensus state that will serve * as a trusted kernel for the next version of this chain. It will only be * stored at the last height of this chain. * UpgradedConsensusState RPC not supported with legacy querier * This rpc is deprecated now that IBC has its own replacement * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) * @name getUpgradedConsensusState * @package cosmos.upgrade.v1beta1 * @see proto service: cosmos.upgrade.v1beta1.UpgradedConsensusState * @deprecated */ declare const getUpgradedConsensusState: (client: EndpointOrRpc, request: QueryUpgradedConsensusStateRequest) => Promise; /** * ModuleVersions queries the list of module versions from state. * @name getModuleVersions * @package cosmos.upgrade.v1beta1 * @see proto service: cosmos.upgrade.v1beta1.ModuleVersions */ declare const getModuleVersions: (client: EndpointOrRpc, request: QueryModuleVersionsRequest) => Promise; /** * Returns the account with authority to conduct upgrades * @name getAuthority * @package cosmos.upgrade.v1beta1 * @see proto service: cosmos.upgrade.v1beta1.Authority */ declare const getAuthority: (client: EndpointOrRpc, request: QueryAuthorityRequest) => Promise; //#endregion export { getAppliedPlan, getAuthority, getCurrentPlan, getModuleVersions, getUpgradedConsensusState };