import type { KuboNode, KuboInfo, KuboInitOptions, KuboOptions, KuboStartOptions, KuboStopOptions } from './index.ts'; import type { PeerInfo } from '@libp2p/interface'; import type { KuboRPCClient } from 'kubo-rpc-client'; export interface KuboClientInit extends KuboOptions { endpoint: string; id: string; disposable: boolean; repo: string; } /** * Node for remote nodes */ export default class KuboClient implements KuboNode { options: KuboOptions & Required>; peerInfo?: PeerInfo; id: string; disposable: boolean; repo: string; private readonly endpoint; private _api?; private readonly initArgs?; private readonly startArgs?; private readonly stopArgs?; constructor(options: KuboClientInit); get api(): KuboRPCClient; info(): Promise; init(args?: KuboInitOptions): Promise; start(args?: KuboStartOptions): Promise; stop(args?: KuboStopOptions): Promise; cleanup(): Promise; } //# sourceMappingURL=client.d.ts.map