import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3 } from "@bufbuild/protobuf"; import { ConsensusStateWithHeight, Height, IdentifiedClientState, Params } from "./client_pb.js"; import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination_pb.js"; import { MerklePath } from "../../commitment/v2/commitment_pb.js"; /** * QueryClientStateRequest is the request type for the Query/ClientState RPC * method * * @generated from message ibc.core.client.v1.QueryClientStateRequest */ export declare class QueryClientStateRequest extends Message { /** * client state unique identifier * * @generated from field: string client_id = 1; */ clientId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClientStateRequest; static equals(a: QueryClientStateRequest | PlainMessage | undefined, b: QueryClientStateRequest | PlainMessage | undefined): boolean; } /** * QueryClientStateResponse is the response type for the Query/ClientState RPC * method. Besides the client state, it includes a proof and the height from * which the proof was retrieved. * * @generated from message ibc.core.client.v1.QueryClientStateResponse */ export declare class QueryClientStateResponse extends Message { /** * client state associated with the request identifier * * @generated from field: google.protobuf.Any client_state = 1; */ clientState?: Any; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof: Uint8Array; /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClientStateResponse; static equals(a: QueryClientStateResponse | PlainMessage | undefined, b: QueryClientStateResponse | PlainMessage | undefined): boolean; } /** * QueryClientStatesRequest is the request type for the Query/ClientStates RPC * method * * @generated from message ibc.core.client.v1.QueryClientStatesRequest */ export declare class QueryClientStatesRequest extends Message { /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 1; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientStatesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientStatesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientStatesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClientStatesRequest; static equals(a: QueryClientStatesRequest | PlainMessage | undefined, b: QueryClientStatesRequest | PlainMessage | undefined): boolean; } /** * QueryClientStatesResponse is the response type for the Query/ClientStates RPC * method. * * @generated from message ibc.core.client.v1.QueryClientStatesResponse */ export declare class QueryClientStatesResponse extends Message { /** * list of stored ClientStates of the chain. * * @generated from field: repeated ibc.core.client.v1.IdentifiedClientState client_states = 1; */ clientStates: IdentifiedClientState[]; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientStatesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientStatesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientStatesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClientStatesResponse; static equals(a: QueryClientStatesResponse | PlainMessage | undefined, b: QueryClientStatesResponse | PlainMessage | undefined): boolean; } /** * QueryConsensusStateRequest is the request type for the Query/ConsensusState * RPC method. Besides the consensus state, it includes a proof and the height * from which the proof was retrieved. * * @generated from message ibc.core.client.v1.QueryConsensusStateRequest */ export declare class QueryConsensusStateRequest extends Message { /** * client identifier * * @generated from field: string client_id = 1; */ clientId: string; /** * consensus state revision number * * @generated from field: uint64 revision_number = 2; */ revisionNumber: bigint; /** * consensus state revision height * * @generated from field: uint64 revision_height = 3; */ revisionHeight: bigint; /** * latest_height overrides the height field and queries the latest stored * ConsensusState * * @generated from field: bool latest_height = 4; */ latestHeight: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryConsensusStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConsensusStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConsensusStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConsensusStateRequest; static equals(a: QueryConsensusStateRequest | PlainMessage | undefined, b: QueryConsensusStateRequest | PlainMessage | undefined): boolean; } /** * QueryConsensusStateResponse is the response type for the Query/ConsensusState * RPC method * * @generated from message ibc.core.client.v1.QueryConsensusStateResponse */ export declare class QueryConsensusStateResponse extends Message { /** * consensus state associated with the client identifier at the given height * * @generated from field: google.protobuf.Any consensus_state = 1; */ consensusState?: Any; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof: Uint8Array; /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryConsensusStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConsensusStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConsensusStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConsensusStateResponse; static equals(a: QueryConsensusStateResponse | PlainMessage | undefined, b: QueryConsensusStateResponse | PlainMessage | undefined): boolean; } /** * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates * RPC method. * * @generated from message ibc.core.client.v1.QueryConsensusStatesRequest */ export declare class QueryConsensusStatesRequest extends Message { /** * client identifier * * @generated from field: string client_id = 1; */ clientId: string; /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryConsensusStatesRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConsensusStatesRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConsensusStatesRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConsensusStatesRequest; static equals(a: QueryConsensusStatesRequest | PlainMessage | undefined, b: QueryConsensusStatesRequest | PlainMessage | undefined): boolean; } /** * QueryConsensusStatesResponse is the response type for the * Query/ConsensusStates RPC method * * @generated from message ibc.core.client.v1.QueryConsensusStatesResponse */ export declare class QueryConsensusStatesResponse extends Message { /** * consensus states associated with the identifier * * @generated from field: repeated ibc.core.client.v1.ConsensusStateWithHeight consensus_states = 1; */ consensusStates: ConsensusStateWithHeight[]; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryConsensusStatesResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConsensusStatesResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConsensusStatesResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConsensusStatesResponse; static equals(a: QueryConsensusStatesResponse | PlainMessage | undefined, b: QueryConsensusStatesResponse | PlainMessage | undefined): boolean; } /** * QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights * RPC method. * * @generated from message ibc.core.client.v1.QueryConsensusStateHeightsRequest */ export declare class QueryConsensusStateHeightsRequest extends Message { /** * client identifier * * @generated from field: string client_id = 1; */ clientId: string; /** * pagination request * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryConsensusStateHeightsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConsensusStateHeightsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConsensusStateHeightsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConsensusStateHeightsRequest; static equals(a: QueryConsensusStateHeightsRequest | PlainMessage | undefined, b: QueryConsensusStateHeightsRequest | PlainMessage | undefined): boolean; } /** * QueryConsensusStateHeightsResponse is the response type for the * Query/ConsensusStateHeights RPC method * * @generated from message ibc.core.client.v1.QueryConsensusStateHeightsResponse */ export declare class QueryConsensusStateHeightsResponse extends Message { /** * consensus state heights * * @generated from field: repeated ibc.core.client.v1.Height consensus_state_heights = 1; */ consensusStateHeights: Height[]; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryConsensusStateHeightsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConsensusStateHeightsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConsensusStateHeightsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConsensusStateHeightsResponse; static equals(a: QueryConsensusStateHeightsResponse | PlainMessage | undefined, b: QueryConsensusStateHeightsResponse | PlainMessage | undefined): boolean; } /** * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC * method * * @generated from message ibc.core.client.v1.QueryClientStatusRequest */ export declare class QueryClientStatusRequest extends Message { /** * client unique identifier * * @generated from field: string client_id = 1; */ clientId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientStatusRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientStatusRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientStatusRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClientStatusRequest; static equals(a: QueryClientStatusRequest | PlainMessage | undefined, b: QueryClientStatusRequest | PlainMessage | undefined): boolean; } /** * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC * method. It returns the current status of the IBC client. * * @generated from message ibc.core.client.v1.QueryClientStatusResponse */ export declare class QueryClientStatusResponse extends Message { /** * @generated from field: string status = 1; */ status: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientStatusResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientStatusResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientStatusResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClientStatusResponse; static equals(a: QueryClientStatusResponse | PlainMessage | undefined, b: QueryClientStatusResponse | PlainMessage | undefined): boolean; } /** * QueryClientParamsRequest is the request type for the Query/ClientParams RPC * method. * * @generated from message ibc.core.client.v1.QueryClientParamsRequest */ export declare class QueryClientParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClientParamsRequest; static equals(a: QueryClientParamsRequest | PlainMessage | undefined, b: QueryClientParamsRequest | PlainMessage | undefined): boolean; } /** * QueryClientParamsResponse is the response type for the Query/ClientParams RPC * method. * * @generated from message ibc.core.client.v1.QueryClientParamsResponse */ export declare class QueryClientParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: ibc.core.client.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClientParamsResponse; static equals(a: QueryClientParamsResponse | PlainMessage | undefined, b: QueryClientParamsResponse | PlainMessage | undefined): boolean; } /** * QueryClientCreatorRequest is the request type for the Query/ClientCreator RPC * method. * * @generated from message ibc.core.client.v1.QueryClientCreatorRequest */ export declare class QueryClientCreatorRequest extends Message { /** * client unique identifier * * @generated from field: string client_id = 1; */ clientId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientCreatorRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientCreatorRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientCreatorRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClientCreatorRequest; static equals(a: QueryClientCreatorRequest | PlainMessage | undefined, b: QueryClientCreatorRequest | PlainMessage | undefined): boolean; } /** * QueryClientCreatorResponse is the response type for the Query/ClientCreator RPC * method. * * @generated from message ibc.core.client.v1.QueryClientCreatorResponse */ export declare class QueryClientCreatorResponse extends Message { /** * creator of the client * * @generated from field: string creator = 1; */ creator: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryClientCreatorResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientCreatorResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientCreatorResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClientCreatorResponse; static equals(a: QueryClientCreatorResponse | PlainMessage | undefined, b: QueryClientCreatorResponse | PlainMessage | undefined): boolean; } /** * QueryUpgradedClientStateRequest is the request type for the * Query/UpgradedClientState RPC method * * @generated from message ibc.core.client.v1.QueryUpgradedClientStateRequest */ export declare class QueryUpgradedClientStateRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryUpgradedClientStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradedClientStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradedClientStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryUpgradedClientStateRequest; static equals(a: QueryUpgradedClientStateRequest | PlainMessage | undefined, b: QueryUpgradedClientStateRequest | PlainMessage | undefined): boolean; } /** * QueryUpgradedClientStateResponse is the response type for the * Query/UpgradedClientState RPC method. * * @generated from message ibc.core.client.v1.QueryUpgradedClientStateResponse */ export declare class QueryUpgradedClientStateResponse extends Message { /** * client state associated with the request identifier * * @generated from field: google.protobuf.Any upgraded_client_state = 1; */ upgradedClientState?: Any; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryUpgradedClientStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradedClientStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradedClientStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryUpgradedClientStateResponse; static equals(a: QueryUpgradedClientStateResponse | PlainMessage | undefined, b: QueryUpgradedClientStateResponse | PlainMessage | undefined): boolean; } /** * QueryUpgradedConsensusStateRequest is the request type for the * Query/UpgradedConsensusState RPC method * * @generated from message ibc.core.client.v1.QueryUpgradedConsensusStateRequest */ export declare class QueryUpgradedConsensusStateRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryUpgradedConsensusStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradedConsensusStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradedConsensusStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryUpgradedConsensusStateRequest; static equals(a: QueryUpgradedConsensusStateRequest | PlainMessage | undefined, b: QueryUpgradedConsensusStateRequest | PlainMessage | undefined): boolean; } /** * QueryUpgradedConsensusStateResponse is the response type for the * Query/UpgradedConsensusState RPC method. * * @generated from message ibc.core.client.v1.QueryUpgradedConsensusStateResponse */ export declare class QueryUpgradedConsensusStateResponse extends Message { /** * Consensus state associated with the request identifier * * @generated from field: google.protobuf.Any upgraded_consensus_state = 1; */ upgradedConsensusState?: Any; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryUpgradedConsensusStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryUpgradedConsensusStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryUpgradedConsensusStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryUpgradedConsensusStateResponse; static equals(a: QueryUpgradedConsensusStateResponse | PlainMessage | undefined, b: QueryUpgradedConsensusStateResponse | PlainMessage | undefined): boolean; } /** * QueryVerifyMembershipRequest is the request type for the Query/VerifyMembership RPC method * * @generated from message ibc.core.client.v1.QueryVerifyMembershipRequest */ export declare class QueryVerifyMembershipRequest extends Message { /** * client unique identifier. * * @generated from field: string client_id = 1; */ clientId: string; /** * the proof to be verified by the client. * * @generated from field: bytes proof = 2; */ proof: Uint8Array; /** * the height of the commitment root at which the proof is verified. * * @generated from field: ibc.core.client.v1.Height proof_height = 3; */ proofHeight?: Height; /** * the value which is proven. * * @generated from field: bytes value = 5; */ value: Uint8Array; /** * optional time delay * * @generated from field: uint64 time_delay = 6; */ timeDelay: bigint; /** * optional block delay * * @generated from field: uint64 block_delay = 7; */ blockDelay: bigint; /** * the commitment key path. * * @generated from field: ibc.core.commitment.v2.MerklePath merkle_path = 8; */ merklePath?: MerklePath; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryVerifyMembershipRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryVerifyMembershipRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryVerifyMembershipRequest; static fromJsonString(jsonString: string, options?: Partial): QueryVerifyMembershipRequest; static equals(a: QueryVerifyMembershipRequest | PlainMessage | undefined, b: QueryVerifyMembershipRequest | PlainMessage | undefined): boolean; } /** * QueryVerifyMembershipResponse is the response type for the Query/VerifyMembership RPC method * * @generated from message ibc.core.client.v1.QueryVerifyMembershipResponse */ export declare class QueryVerifyMembershipResponse extends Message { /** * boolean indicating success or failure of proof verification. * * @generated from field: bool success = 1; */ success: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.QueryVerifyMembershipResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryVerifyMembershipResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryVerifyMembershipResponse; static fromJsonString(jsonString: string, options?: Partial): QueryVerifyMembershipResponse; static equals(a: QueryVerifyMembershipResponse | PlainMessage | undefined, b: QueryVerifyMembershipResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map