import type { AbstractConfig } from "../common"; import CommonArweave from "../common"; import type { ApiConfig } from "../common/lib/api"; import { Stream } from "./stream"; export declare class Arweave extends CommonArweave { stream: Stream; /** * Constructor for a new `Arweave` instance - this one uses the node crypto driver * @param gateways - Specify the Arweave gateway(s) you want to use for requests * @param options - Other configuration options * @param options.miners - A list of Arweave miners (peers) to use for requests * @param options.gateways - A list of Arweave miners (peers) to use for requests */ constructor(gateways?: string | URL | ApiConfig | ApiConfig[] | string[] | URL[], options?: Omit); static init(apiConfig: ApiConfig): Arweave; } export declare const NodeArweave: typeof Arweave; export default Arweave;