import { BitcoinAddress } from './BitcoinAddress'; export declare class BitcoinSegwitAddress extends BitcoinAddress { constructor(value: string, visibilityDerivationIndex?: number, addressDerivationIndex?: number); /** * Same dual call shape as `BitcoinAddress.from` (see there), but produces a P2WPKH (`bc1...`) * address when a `lib` is passed. The legacy shape preserves the pre-migration behaviour of * delegating to the node's `getAddress()`. */ static from(node: any, visibilityDerivationIndex?: number, addressDerivationIndex?: number): BitcoinSegwitAddress; static from(node: any, lib: { payments: any; }, network: any, visibilityDerivationIndex?: number, addressDerivationIndex?: number): BitcoinSegwitAddress; static fromAddress(address: string): BitcoinSegwitAddress; asString(): string; }