import BN from "bn.js"; import * as types from "../types"; export interface ResponseFields { id: BN; foreignSender: types.ForeignAddrFields; status: types.StatusKind; } export interface ResponseJSON { id: string; foreignSender: types.ForeignAddrJSON; status: types.StatusJSON; } export declare class Response { readonly id: BN; readonly foreignSender: types.ForeignAddr; readonly status: types.StatusKind; constructor(fields: ResponseFields); static layout(property?: string): any; static fromDecoded(obj: any): Response; static toEncodable(fields: ResponseFields): { id: BN; foreignSender: { inner: number[]; }; status: { Success: {}; } | { Aborted: {}; } | { TargetProgramErrored: {}; } | { InconsistentPayloads: {}; }; }; toJSON(): ResponseJSON; static fromJSON(obj: ResponseJSON): Response; toEncodable(): { id: BN; foreignSender: { inner: number[]; }; status: { Success: {}; } | { Aborted: {}; } | { TargetProgramErrored: {}; } | { InconsistentPayloads: {}; }; }; }