import { APIResource } from "../core/resource.mjs"; import { APIPromise } from "../core/api-promise.mjs"; import { RequestOptions } from "../internal/request-options.mjs"; export declare class KeysendPayments extends APIResource { /** * Start sending Keysend payments on the Lightning Network. * * @example * ```ts * await client.keysendPayments.send({ * amount: 'string', * callbackUrl: 'string', * metadata: true, * pubkey: 'string', * tlvRecords: null, * value: 'myTLVRecordValue', * }); * ``` */ send(body?: KeysendPaymentSendParams | null | undefined, options?: RequestOptions): APIPromise; } export interface KeysendPaymentSendParams { /** * The amount for the Payment -> in millisatoshis */ amount?: string; /** * The endpoint ZBD will POST Keysend Payment updates to */ callbackUrl?: string; /** * Open metadata object property */ metadata?: unknown; /** * The Public Key for the destination Lightning node */ pubkey?: string; /** * List of TLV records * type of the TLV * record */ tlvRecords?: Array; /** * value of the TLV record (hex encoded string) */ value?: string; } export declare namespace KeysendPayments { export { type KeysendPaymentSendParams as KeysendPaymentSendParams }; } //# sourceMappingURL=keysend-payments.d.mts.map