import * as types from "../types"; export interface XAddressFields { address: types.ForeignAddrFields; chainId: number; } export interface XAddressJSON { address: types.ForeignAddrJSON; chainId: number; } export declare class XAddress { readonly address: types.ForeignAddr; readonly chainId: number; constructor(fields: XAddressFields); static layout(property?: string): any; static fromDecoded(obj: any): types.XAddress; static toEncodable(fields: XAddressFields): { address: { inner: number[]; }; chainId: number; }; toJSON(): XAddressJSON; static fromJSON(obj: XAddressJSON): XAddress; toEncodable(): { address: { inner: number[]; }; chainId: number; }; }