@getalby/bitcoin-connect
Version:
Web components to connect to a lightning wallet and power a website with WebLN
22 lines (21 loc) • 645 B
TypeScript
import { BitcoinConnectElement } from './BitcoinConnectElement.js';
declare const Balance_base: typeof BitcoinConnectElement;
/**
* Displays the balance of the connected wallet (could be sats or fiat)
*/
export declare class Balance extends Balance_base {
_balance: string | undefined;
_balanceSats: number | undefined;
_loading: boolean;
_selectedCurrency: string | undefined;
constructor();
render(): import("lit").TemplateResult<1>;
private _convertBalance;
private _loadBalance;
}
declare global {
interface HTMLElementTagNameMap {
'bc-balance': Balance;
}
}
export {};