import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3 } from "@bufbuild/protobuf"; import { ConnectionEnd, IdentifiedConnection, Params } from "./connection_pb.js"; import { Height, IdentifiedClientState } from "../../client/v1/client_pb.js"; import { PageRequest, PageResponse } from "../../../../cosmos/base/query/v1beta1/pagination_pb.js"; /** * QueryConnectionRequest is the request type for the Query/Connection RPC * method * * @generated from message ibc.core.connection.v1.QueryConnectionRequest */ export declare class QueryConnectionRequest extends Message { /** * connection unique identifier * * @generated from field: string connection_id = 1; */ connectionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionRequest; static equals(a: QueryConnectionRequest | PlainMessage | undefined, b: QueryConnectionRequest | PlainMessage | undefined): boolean; } /** * QueryConnectionResponse is the response type for the Query/Connection RPC * method. Besides the connection end, it includes a proof and the height from * which the proof was retrieved. * * @generated from message ibc.core.connection.v1.QueryConnectionResponse */ export declare class QueryConnectionResponse extends Message { /** * connection associated with the request identifier * * @generated from field: ibc.core.connection.v1.ConnectionEnd connection = 1; */ connection?: ConnectionEnd; /** * 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.connection.v1.QueryConnectionResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionResponse; static equals(a: QueryConnectionResponse | PlainMessage | undefined, b: QueryConnectionResponse | PlainMessage | undefined): boolean; } /** * QueryConnectionsRequest is the request type for the Query/Connections RPC * method * * @generated from message ibc.core.connection.v1.QueryConnectionsRequest */ export declare class QueryConnectionsRequest extends Message { /** * @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.connection.v1.QueryConnectionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionsRequest; static equals(a: QueryConnectionsRequest | PlainMessage | undefined, b: QueryConnectionsRequest | PlainMessage | undefined): boolean; } /** * QueryConnectionsResponse is the response type for the Query/Connections RPC * method. * * @generated from message ibc.core.connection.v1.QueryConnectionsResponse */ export declare class QueryConnectionsResponse extends Message { /** * list of stored connections of the chain. * * @generated from field: repeated ibc.core.connection.v1.IdentifiedConnection connections = 1; */ connections: IdentifiedConnection[]; /** * pagination response * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; /** * query block height * * @generated from field: ibc.core.client.v1.Height height = 3; */ height?: Height; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionsResponse; static equals(a: QueryConnectionsResponse | PlainMessage | undefined, b: QueryConnectionsResponse | PlainMessage | undefined): boolean; } /** * QueryClientConnectionsRequest is the request type for the * Query/ClientConnections RPC method * * @generated from message ibc.core.connection.v1.QueryClientConnectionsRequest */ export declare class QueryClientConnectionsRequest extends Message { /** * client identifier associated with a connection * * @generated from field: string client_id = 1; */ clientId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryClientConnectionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientConnectionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientConnectionsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryClientConnectionsRequest; static equals(a: QueryClientConnectionsRequest | PlainMessage | undefined, b: QueryClientConnectionsRequest | PlainMessage | undefined): boolean; } /** * QueryClientConnectionsResponse is the response type for the * Query/ClientConnections RPC method * * @generated from message ibc.core.connection.v1.QueryClientConnectionsResponse */ export declare class QueryClientConnectionsResponse extends Message { /** * slice of all the connection paths associated with a client. * * @generated from field: repeated string connection_paths = 1; */ connectionPaths: string[]; /** * merkle proof of existence * * @generated from field: bytes proof = 2; */ proof: Uint8Array; /** * height at which the proof was generated * * @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.connection.v1.QueryClientConnectionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryClientConnectionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryClientConnectionsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryClientConnectionsResponse; static equals(a: QueryClientConnectionsResponse | PlainMessage | undefined, b: QueryClientConnectionsResponse | PlainMessage | undefined): boolean; } /** * QueryConnectionClientStateRequest is the request type for the * Query/ConnectionClientState RPC method * * @generated from message ibc.core.connection.v1.QueryConnectionClientStateRequest */ export declare class QueryConnectionClientStateRequest extends Message { /** * connection identifier * * @generated from field: string connection_id = 1; */ connectionId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionClientStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionClientStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionClientStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionClientStateRequest; static equals(a: QueryConnectionClientStateRequest | PlainMessage | undefined, b: QueryConnectionClientStateRequest | PlainMessage | undefined): boolean; } /** * QueryConnectionClientStateResponse is the response type for the * Query/ConnectionClientState RPC method * * @generated from message ibc.core.connection.v1.QueryConnectionClientStateResponse */ export declare class QueryConnectionClientStateResponse extends Message { /** * client state associated with the channel * * @generated from field: ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; */ identifiedClientState?: IdentifiedClientState; /** * 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.connection.v1.QueryConnectionClientStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionClientStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionClientStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionClientStateResponse; static equals(a: QueryConnectionClientStateResponse | PlainMessage | undefined, b: QueryConnectionClientStateResponse | PlainMessage | undefined): boolean; } /** * QueryConnectionConsensusStateRequest is the request type for the * Query/ConnectionConsensusState RPC method * * @generated from message ibc.core.connection.v1.QueryConnectionConsensusStateRequest */ export declare class QueryConnectionConsensusStateRequest extends Message { /** * connection identifier * * @generated from field: string connection_id = 1; */ connectionId: string; /** * @generated from field: uint64 revision_number = 2; */ revisionNumber: bigint; /** * @generated from field: uint64 revision_height = 3; */ revisionHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionConsensusStateRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionConsensusStateRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionConsensusStateRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionConsensusStateRequest; static equals(a: QueryConnectionConsensusStateRequest | PlainMessage | undefined, b: QueryConnectionConsensusStateRequest | PlainMessage | undefined): boolean; } /** * QueryConnectionConsensusStateResponse is the response type for the * Query/ConnectionConsensusState RPC method * * @generated from message ibc.core.connection.v1.QueryConnectionConsensusStateResponse */ export declare class QueryConnectionConsensusStateResponse extends Message { /** * consensus state associated with the channel * * @generated from field: google.protobuf.Any consensus_state = 1; */ consensusState?: Any; /** * client ID associated with the consensus state * * @generated from field: string client_id = 2; */ clientId: string; /** * merkle proof of existence * * @generated from field: bytes proof = 3; */ proof: Uint8Array; /** * height at which the proof was retrieved * * @generated from field: ibc.core.client.v1.Height proof_height = 4; */ proofHeight?: Height; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionConsensusStateResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionConsensusStateResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionConsensusStateResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionConsensusStateResponse; static equals(a: QueryConnectionConsensusStateResponse | PlainMessage | undefined, b: QueryConnectionConsensusStateResponse | PlainMessage | undefined): boolean; } /** * QueryConnectionParamsRequest is the request type for the Query/ConnectionParams RPC method. * * @generated from message ibc.core.connection.v1.QueryConnectionParamsRequest */ export declare class QueryConnectionParamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionParamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionParamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionParamsRequest; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionParamsRequest; static equals(a: QueryConnectionParamsRequest | PlainMessage | undefined, b: QueryConnectionParamsRequest | PlainMessage | undefined): boolean; } /** * QueryConnectionParamsResponse is the response type for the Query/ConnectionParams RPC method. * * @generated from message ibc.core.connection.v1.QueryConnectionParamsResponse */ export declare class QueryConnectionParamsResponse extends Message { /** * params defines the parameters of the module. * * @generated from field: ibc.core.connection.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.connection.v1.QueryConnectionParamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): QueryConnectionParamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): QueryConnectionParamsResponse; static fromJsonString(jsonString: string, options?: Partial): QueryConnectionParamsResponse; static equals(a: QueryConnectionParamsResponse | PlainMessage | undefined, b: QueryConnectionParamsResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=query_pb.d.ts.map