import * as _m0 from "protobufjs/minimal"; export declare const protobufPackage = "decimal.swap.v1"; /** Chain defines a chain. */ export interface Chain { /** id defines the chain number ID. */ id: number; /** name defines the chain name. */ name: string; /** active defines status of the chain. */ active: boolean; } /** Swap defines a cross-chain swap. */ export interface Swap { /** hashed_secret defines the hash of secret used during cross-chain swap. */ hashedSecret: string; /** from defines address used to initialize swap. */ from: string; /** recipient defines address of the recipient swapped coins. */ recipient: string; /** amount defines amount of coins the swap initialized. */ amount: string; /** timestamp defines time moment when the swap was initialized. */ timestamp: number; /** redeemed defines if the swap was redeemed. */ redeemed: boolean; /** refunded defines if the swap was refunded. */ refunded: boolean; } export declare const Chain: { encode(message: Chain, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Chain; fromJSON(object: any): Chain; toJSON(message: Chain): unknown; fromPartial]: never; }>(object: I): Chain; }; export declare const Swap: { encode(message: Swap, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Swap; fromJSON(object: any): Swap; toJSON(message: Swap): unknown; fromPartial]: never; }>(object: I): Swap; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export {};