import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Any, Message, proto3 } from "@bufbuild/protobuf"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. * * @generated from message ibc.core.client.v1.IdentifiedClientState */ export declare class IdentifiedClientState extends Message { /** * client identifier * * @generated from field: string client_id = 1; */ clientId: string; /** * client state * * @generated from field: google.protobuf.Any client_state = 2; */ clientState?: Any; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.IdentifiedClientState"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): IdentifiedClientState; static fromJson(jsonValue: JsonValue, options?: Partial): IdentifiedClientState; static fromJsonString(jsonString: string, options?: Partial): IdentifiedClientState; static equals(a: IdentifiedClientState | PlainMessage | undefined, b: IdentifiedClientState | PlainMessage | undefined): boolean; } /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. * * @generated from message ibc.core.client.v1.ConsensusStateWithHeight */ export declare class ConsensusStateWithHeight extends Message { /** * consensus state height * * @generated from field: ibc.core.client.v1.Height height = 1; */ height?: Height; /** * consensus state * * @generated from field: google.protobuf.Any consensus_state = 2; */ consensusState?: Any; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.ConsensusStateWithHeight"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ConsensusStateWithHeight; static fromJson(jsonValue: JsonValue, options?: Partial): ConsensusStateWithHeight; static fromJsonString(jsonString: string, options?: Partial): ConsensusStateWithHeight; static equals(a: ConsensusStateWithHeight | PlainMessage | undefined, b: ConsensusStateWithHeight | PlainMessage | undefined): boolean; } /** * ClientConsensusStates defines all the stored consensus states for a given * client. * * @generated from message ibc.core.client.v1.ClientConsensusStates */ export declare class ClientConsensusStates extends Message { /** * client identifier * * @generated from field: string client_id = 1; */ clientId: string; /** * consensus states and their heights associated with the client * * @generated from field: repeated ibc.core.client.v1.ConsensusStateWithHeight consensus_states = 2; */ consensusStates: ConsensusStateWithHeight[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.ClientConsensusStates"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ClientConsensusStates; static fromJson(jsonValue: JsonValue, options?: Partial): ClientConsensusStates; static fromJsonString(jsonString: string, options?: Partial): ClientConsensusStates; static equals(a: ClientConsensusStates | PlainMessage | undefined, b: ClientConsensusStates | PlainMessage | undefined): boolean; } /** * Height is a monotonically increasing data type * that can be compared against another Height for the purposes of updating and * freezing clients * * Normally the RevisionHeight is incremented at each height while keeping * RevisionNumber the same. However some consensus algorithms may choose to * reset the height in certain conditions e.g. hard forks, state-machine * breaking changes In these cases, the RevisionNumber is incremented so that * height continues to be monitonically increasing even as the RevisionHeight * gets reset * * Please note that json tags for generated Go code are overridden to explicitly exclude the omitempty jsontag. * This enforces the Go json marshaller to always emit zero values for both revision_number and revision_height. * * @generated from message ibc.core.client.v1.Height */ export declare class Height extends Message { /** * the revision that the client is currently on * * @generated from field: uint64 revision_number = 1; */ revisionNumber: bigint; /** * the height within the given revision * * @generated from field: uint64 revision_height = 2; */ revisionHeight: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.Height"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Height; static fromJson(jsonValue: JsonValue, options?: Partial): Height; static fromJsonString(jsonString: string, options?: Partial): Height; static equals(a: Height | PlainMessage | undefined, b: Height | PlainMessage | undefined): boolean; } /** * Params defines the set of IBC light client parameters. * * @generated from message ibc.core.client.v1.Params */ export declare class Params extends Message { /** * allowed_clients defines the list of allowed client state types which can be created * and interacted with. If a client type is removed from the allowed clients list, usage * of this client will be disabled until it is added again to the list. * * @generated from field: repeated string allowed_clients = 1; */ allowedClients: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.client.v1.Params"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Params; static fromJson(jsonValue: JsonValue, options?: Partial): Params; static fromJsonString(jsonString: string, options?: Partial): Params; static equals(a: Params | PlainMessage | undefined, b: Params | PlainMessage | undefined): boolean; } //# sourceMappingURL=client_pb.d.ts.map