import Long from "long"; import _m0 from "protobufjs/minimal"; import { Any } from "../../../../google/protobuf/any"; export declare const protobufPackage = "ibc.core.client.v1"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. */ export interface IdentifiedClientState { /** client identifier */ clientId: string; /** client state */ clientState: Any | undefined; } /** * ConsensusStateWithHeight defines a consensus state with an additional height * field. */ export interface ConsensusStateWithHeight { /** consensus state height */ height: Height | undefined; /** consensus state */ consensusState: Any | undefined; } /** * ClientConsensusStates defines all the stored consensus states for a given * client. */ export interface ClientConsensusStates { /** client identifier */ clientId: string; /** consensus states and their heights associated with the client */ consensusStates: ConsensusStateWithHeight[]; } /** * 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. */ export interface Height { /** the revision that the client is currently on */ revisionNumber: Long; /** the height within the given revision */ revisionHeight: Long; } /** Params defines the set of IBC light client parameters. */ export interface Params { /** * 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. */ allowedClients: string[]; } export declare const IdentifiedClientState: { encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState; fromJSON(object: any): IdentifiedClientState; toJSON(message: IdentifiedClientState): unknown; create(base?: DeepPartial): IdentifiedClientState; fromPartial(object: DeepPartial): IdentifiedClientState; }; export declare const ConsensusStateWithHeight: { encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight; fromJSON(object: any): ConsensusStateWithHeight; toJSON(message: ConsensusStateWithHeight): unknown; create(base?: DeepPartial): ConsensusStateWithHeight; fromPartial(object: DeepPartial): ConsensusStateWithHeight; }; export declare const ClientConsensusStates: { encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates; fromJSON(object: any): ClientConsensusStates; toJSON(message: ClientConsensusStates): unknown; create(base?: DeepPartial): ClientConsensusStates; fromPartial(object: DeepPartial): ClientConsensusStates; }; export declare const Height: { encode(message: Height, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Height; fromJSON(object: any): Height; toJSON(message: Height): unknown; create(base?: DeepPartial): Height; fromPartial(object: DeepPartial): Height; }; export declare const Params: { encode(message: Params, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): unknown; create(base?: DeepPartial): Params; fromPartial(object: DeepPartial): Params; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};