import { Config } from './Config'; import { NativeLoader } from './NativeLoader'; import { NetAddress } from './Bindings'; import { Node } from './Node'; export declare class Builder extends NativeLoader { id: string; /** * Create builder class from [Config] * @requires config * @returns Promise */ fromConfig(config: Config): Promise; /** * Configures the [Node] instance to source its wallet entropy from a seed file on disk. * * If the given file does not exist a new random seed file will be generated and stored at the given location. * @requires seedPath * @returns {Promise} */ setEntropySeedPath(seedPath: string): Promise; /** * Configures the [Node] instance to source its wallet entropy from the given 64 seed bytes. * * **Note:** Panics if the length of the given `seedBytes` differs from 64. * @requires seedBytes * @returns {Promise} */ setEntropySeedBytes(seedBytes: Array): Promise; /** * Set mnemoninc * * @requires mnemoninc * @param passphrase * @returns {Promise} */ setEntropyBip39Mnemonic(mnemoninc: string, passphrase?: string): Promise; /** * Configures the [Node] instance to source its chain data from the given Esplora server. * @requires esploraServerUrl * @returns {Promise} */ setEsploraServer(esploraServerUrl: string): Promise; /** * Configures the [Node] instance to source its gossip data from the Lightning peer-to-peer network. * @returns {Promise} */ setGossipSourceP2p(): Promise; /** * Configures the [Node] instance to source its gossip data from the given RapidGossipSync server. * @requires rgsServerUrl * @returns {Promise} */ setGossipSourceRgs(rgsServerUrl: string): Promise; /** * Sets the used storage directory path. * @requires storageDirPath * @returns {Promise} */ setStorageDirPath(storageDirPath: string): Promise; /** * Sets the Bitcoin network used. * @requires network * @returns {Promise} */ setNetwork(network: string): Promise; /** * Sets the IP addresses and TCP port on which [Node] will listen for incoming network connections. * @requires listeningAddresses * @returns {Promise} */ setListeningAddresses(listeningAddresses: Array): Promise; /** * Sets the LiquiditySourceLsps2. * @returns {Promise} */ setLiquiditySourceLsps2(address: string, publicKey: string, token: String): Promise; /** * Create node * @returns {Promise} */ build(): Promise; }