import { z } from "zod"; import { type CounterPartyDataOptions } from "./CounterPartyData.js"; import { PayerDataSchema, type PayerData } from "./PayerData.js"; import { type SettlementInfo } from "./Settlement.js"; declare const V1PayRequestSchema: z.ZodEffects>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">>; declare const V0PayRequestSchema: z.ZodObject<{ currency: z.ZodOptional>, string | undefined, string | null>>; amount: z.ZodNumber; payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; comment: z.ZodOptional>, string | undefined, string | null>>; }, "strip", z.ZodTypeAny, { amount: number; payerData?: NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined; payeeData?: Record | undefined; comment?: string | undefined; currency?: string | undefined; }, { amount: number; payerData?: z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null | undefined; payeeData?: Record | null | undefined; comment?: string | null | undefined; currency?: string | null | undefined; }>; export declare const PayRequestSchema: z.ZodEffects>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ currency: z.ZodOptional>, string | undefined, string | null>>; amount: z.ZodNumber; payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; comment: z.ZodOptional>, string | undefined, string | null>>; }, "strip", z.ZodTypeAny, { amount: number; payerData?: NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined; payeeData?: Record | undefined; comment?: string | undefined; currency?: string | undefined; }, { amount: number; payerData?: z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null | undefined; payeeData?: Record | null | undefined; comment?: string | null | undefined; currency?: string | null | undefined; }>]>, { amount: string; invoiceUUID?: string | undefined; payerData?: NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined; payeeData?: Record | undefined; convert?: string | undefined; comment?: string | undefined; settlement?: { layer: string; assetIdentifier: string; } | undefined; } & { [k: string]: unknown; } & { umaMajorVersion: number; }, z.objectInputType<{ /** The 3-character currency code that the receiver will receive for this payment. */ convert: z.ZodOptional>, string | undefined, string | null>>; /** * An amount (int64) followed optionally by a "." and the sending currency code. For example: "100.USD" would send * an amount equivalent to $1 USD. Note that the amount is specified in the smallest unit of the specified * currency (eg. cents for USD). Omitting the currency code will default to specifying the amount in millisats. */ amount: z.ZodString; /** The data that the sender will send to the receiver to identify themselves. See LUD-18. */ payerData: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">>>, NonNullable>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough">> | undefined, z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null>>; /** The fields requested about the payee by the sending vasp, if any. */ payeeData: z.ZodOptional, z.ZodTypeDef, Record>>, Record | undefined, Record | null>>; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment: z.ZodOptional>, string | undefined, string | null>>; /** * InvoiceUUID is the invoice UUID that the sender is paying. * This only exists in the v1 pay request since the v0 SDK won't support invoices. */ invoiceUUID: z.ZodOptional>, string | undefined, string | null>>; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement: z.ZodOptional>, { layer: string; assetIdentifier: string; } | undefined, { layer: string; assetIdentifier: string; } | null>>; }, z.ZodTypeAny, "passthrough"> | { amount: number; payerData?: z.objectInputType<{ name: z.ZodOptional>, string | undefined, string | null>>; email: z.ZodOptional>, string | undefined, string | null>>; identifier: z.ZodOptional>, string | undefined, string | null>>; compliance: z.ZodOptional>, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | undefined, { kycStatus: import("./KycStatus.js").KycStatus; signature: string; signatureNonce: string; signatureTimestamp: number; backingSignatures?: { signature: string; domain: string; }[] | null | undefined; nodePubKey?: string | null | undefined; utxos?: string[] | null | undefined; utxoCallback?: string | null | undefined; encryptedTravelRuleInfo?: string | null | undefined; travelRuleFormat?: string | null | undefined; } | null>>; }, z.ZodTypeAny, "passthrough"> | null | undefined; payeeData?: Record | null | undefined; comment?: string | null | undefined; currency?: string | null | undefined; }>; /** * A class which wraps the `PayRequestSchema` and provides a more convenient interface for * creating and parsing PayRequests. * * NOTE: The `fromJson` and `toJsonString` methods are used to convert to and from JSON strings. * This is necessary because `JSON.stringify` will not include the correct field names. */ export declare class PayRequest { /** * The amount of the payment in the currency specified by `currency_code`. This amount is * in the smallest unit of the specified currency (e.g. cents for USD). */ readonly amount: number; /** * The 3-character currency code that the receiver will receive for this payment. */ readonly receivingCurrencyCode: string | undefined; /** * The currency code of the `amount` field. `None` indicates that `amount` is in the smallest * unit of the settlement asset. For lightning, this is millisatoshis as in LNURL without LUD-21. * If this is not `None`, then `amount` is in the smallest unit of the specified currency * (e.g. cents for USD). This currency code can be any currency which the receiver can quote. * However, there are two most common scenarios for UMA: * * 1. If the sender wants the receiver wants to receive a specific amount in their receiving * currency, then this field should be the same as `receiving_currency_code`. This is useful * for cases where the sender wants to ensure that the receiver receives a specific amount * in that destination currency, regardless of the exchange rate, for example, when paying * for some goods or services in a foreign currency. * * 2. If the sender has a specific amount in their own currency that they would like to send, * then this field should be left as `None` to indicate that the amount is in the smallest * unit of the settlement asset (ie. msats by default). * This will lock the sent amount on the sender side, and the receiver will receive the * equivalent amount in their receiving currency. NOTE: In this scenario, the sending VASP * *should not* pass the sending currency code here, as it is not relevant to the receiver. * Rather, by specifying an invoice amount in the settlement asset (for example, msats for * lightning), the sending VASP can ensure that their user will be sending a fixed amount, * regardless of the exchange rate on the receiving side. */ readonly sendingAmountCurrencyCode: string | undefined; /** * The major version of the UMA protocol that this currency adheres to. This is not serialized to JSON. */ readonly umaMajorVersion: number; /** * The data about the payer that the sending VASP must provide in order to send a payment. * This was requested by the receiver in the lnulp response. See LUD-18. */ readonly payerData?: z.infer | undefined; /** * The data about the receiver that the sending VASP would like to know from the receiver. * See LUD-22. */ readonly requestedPayeeData?: CounterPartyDataOptions | undefined; /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ readonly comment?: string | undefined; /** * Associated UMA Invoice UUID */ readonly invoiceUUID?: string | undefined; /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ readonly settlement?: SettlementInfo | undefined; constructor( /** * The amount of the payment in the currency specified by `currency_code`. This amount is * in the smallest unit of the specified currency (e.g. cents for USD). */ amount: number, /** * The 3-character currency code that the receiver will receive for this payment. */ receivingCurrencyCode: string | undefined, /** * The currency code of the `amount` field. `None` indicates that `amount` is in the smallest * unit of the settlement asset. For lightning, this is millisatoshis as in LNURL without LUD-21. * If this is not `None`, then `amount` is in the smallest unit of the specified currency * (e.g. cents for USD). This currency code can be any currency which the receiver can quote. * However, there are two most common scenarios for UMA: * * 1. If the sender wants the receiver wants to receive a specific amount in their receiving * currency, then this field should be the same as `receiving_currency_code`. This is useful * for cases where the sender wants to ensure that the receiver receives a specific amount * in that destination currency, regardless of the exchange rate, for example, when paying * for some goods or services in a foreign currency. * * 2. If the sender has a specific amount in their own currency that they would like to send, * then this field should be left as `None` to indicate that the amount is in the smallest * unit of the settlement asset (ie. msats by default). * This will lock the sent amount on the sender side, and the receiver will receive the * equivalent amount in their receiving currency. NOTE: In this scenario, the sending VASP * *should not* pass the sending currency code here, as it is not relevant to the receiver. * Rather, by specifying an invoice amount in the settlement asset (for example, msats for * lightning), the sending VASP can ensure that their user will be sending a fixed amount, * regardless of the exchange rate on the receiving side. */ sendingAmountCurrencyCode: string | undefined, /** * The major version of the UMA protocol that this currency adheres to. This is not serialized to JSON. */ umaMajorVersion: number, /** * The data about the payer that the sending VASP must provide in order to send a payment. * This was requested by the receiver in the lnulp response. See LUD-18. */ payerData?: z.infer | undefined, /** * The data about the receiver that the sending VASP would like to know from the receiver. * See LUD-22. */ requestedPayeeData?: CounterPartyDataOptions | undefined, /** * A comment that the sender would like to include with the payment. This can only be included * if the receiver included the `commentAllowed` field in the lnurlp response. The length of * the comment must be less than or equal to the value of `commentAllowed`. */ comment?: string | undefined, /** * Associated UMA Invoice UUID */ invoiceUUID?: string | undefined, /** * Settlement information including the layer and asset chosen by the sender. * Must be one of the options provided by the receiver in the lnurlp response. * If not specified, defaults to Lightning with BTC. */ settlement?: SettlementInfo | undefined); /** * @returns true if this PayRequest is for UMA. False if for regular lnurl. */ isUma(): this is { payerData: PayerData; receivingCurrencyCode: string; }; toJsonSchemaObject(): z.infer | z.infer; /** * NOTE: This MUST be used when sending the PayRequest to the receiver rather than * `JSON.stringify` because the latter will not include the correct field names. * @returns a JSON string representation of the PayRequest. */ toJsonString(): string; toJSON(): string; signablePayload(): string; /** * Appends a backing signature to the PayRequest. * * @param signingPrivateKey The private key used to sign the payload * @param domain The domain of the VASP that is signing the payload * @returns A new PayRequest with the additional backing signature */ appendBackingSignature(signingPrivateKey: Uint8Array, domain: string): Promise; static fromSchema(schema: z.infer): PayRequest; static parse(data: unknown): PayRequest; static fromJson(jsonStr: string): PayRequest; /** * Parse a PayRequest from a URLSearchParams object. Should only be used for * non-UMA pay requests because UMA uses POST requests for payreq. */ static fromUrlSearchParams(params: URLSearchParams): PayRequest; } export {};