Move zap parsing to @snort/system
This commit is contained in:
14
packages/shared/src/d.ts
Normal file
14
packages/shared/src/d.ts
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
declare module "light-bolt11-decoder" {
|
||||
export function decode(pr?: string): ParsedInvoice;
|
||||
|
||||
export interface ParsedInvoice {
|
||||
paymentRequest: string;
|
||||
sections: Section[];
|
||||
}
|
||||
|
||||
export interface Section {
|
||||
name: string;
|
||||
value: string | Uint8Array | number | undefined;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user