import { BinaryReader, BinaryWriter } from '../../../../binary.js'; import { type JsonSafe } from '../../../../json-safe.js'; /** * Config is a **per-client** configuration struct that sets which relayers are allowed to relay v2 IBC messages * for a given client. * If it is set, then only relayers in the allow list can send v2 messages * If it is not set, then the client allows permissionless relaying of v2 messages * @name Config * @package ibc.core.client.v2 * @see proto type: ibc.core.client.v2.Config */ export interface Config { /** * allowed_relayers defines the set of allowed relayers for IBC V2 protocol for the given client */ allowedRelayers: string[]; } export interface ConfigProtoMsg { typeUrl: '/ibc.core.client.v2.Config'; value: Uint8Array; } /** * Config is a **per-client** configuration struct that sets which relayers are allowed to relay v2 IBC messages * for a given client. * If it is set, then only relayers in the allow list can send v2 messages * If it is not set, then the client allows permissionless relaying of v2 messages * @name ConfigSDKType * @package ibc.core.client.v2 * @see proto type: ibc.core.client.v2.Config */ export interface ConfigSDKType { allowed_relayers: string[]; } /** * Config is a **per-client** configuration struct that sets which relayers are allowed to relay v2 IBC messages * for a given client. * If it is set, then only relayers in the allow list can send v2 messages * If it is not set, then the client allows permissionless relaying of v2 messages * @name Config * @package ibc.core.client.v2 * @see proto type: ibc.core.client.v2.Config */ export declare const Config: { typeUrl: "/ibc.core.client.v2.Config"; aminoType: "cosmos-sdk/Config"; is(o: any): o is Config; isSDK(o: any): o is ConfigSDKType; encode(message: Config, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Config; fromJSON(object: any): Config; toJSON(message: Config): JsonSafe; fromPartial(object: Partial): Config; fromProtoMsg(message: ConfigProtoMsg): Config; toProto(message: Config): Uint8Array; toProtoMsg(message: Config): ConfigProtoMsg; }; //# sourceMappingURL=config.d.ts.map