UNPKG

lightningdevkit

Version:
18 lines (17 loc) 635 B
import { MessageSendInstructions } from '../structs/MessageSendInstructions.mjs'; import { CommonBase } from './CommonBase.mjs'; /** * Instructions for how and where to send the response to an onion message. */ export declare class ResponseInstruction extends CommonBase { clone_ptr(): bigint; /** * Creates a copy of the ResponseInstruction */ clone(): ResponseInstruction; /** * Converts this [`ResponseInstruction`] into a [`MessageSendInstructions`] so that it can be * used to send the response via a normal message sending method. */ into_instructions(): MessageSendInstructions; }