import { LitClientOptions } from './'; import { BakeSuperMacaroonRequestPartial, BakeSuperMacaroonResponse, GetInfoRequestPartial, GetInfoResponse, ProxyClient, StopDaemonRequest, StopDaemonRequestPartial } from './types'; /** * API interface for litd's Proxy RPC sub-server. */ export declare class ProxyApi { /** * Create a new ProxyApi instance. */ static create(options: LitClientOptions): ProxyApi; /** * The grpc client to communicate with the daemon. */ client: ProxyClient; constructor(client: ProxyClient); /** * GetInfo returns general information concerning the LiTd node. */ getInfo(request?: GetInfoRequestPartial): Promise; /** * StopDaemon will send a shutdown request to the interrupt handler, * triggering a graceful shutdown of the daemon. */ stopDaemon(request?: StopDaemonRequestPartial): Promise; /** * BakeSuperMacaroon bakes a new macaroon that includes permissions for * all the active daemons that LiT is connected to. */ bakeSuperMacaroon(request?: BakeSuperMacaroonRequestPartial): Promise; }