kubo-rpc-client
Version:
A client library for the Kubo RPC API
17 lines • 564 B
TypeScript
import type { HTTPRPCOptions } from '../index.ts';
import type { HTTPRPCClient } from '../lib/core.ts';
export interface DiagCmdsResult {
active: boolean;
args: string[];
endTime: Date;
id: string;
options: Record<string, any>;
startTime: Date;
}
export interface DiagAPI {
cmds(options?: HTTPRPCOptions): Promise<DiagCmdsResult[]>;
net(options?: HTTPRPCOptions): Promise<any>;
sys(options?: HTTPRPCOptions): Promise<any>;
}
export declare function createDiag(client: HTTPRPCClient): DiagAPI;
//# sourceMappingURL=index.d.ts.map