kubo-rpc-client
Version:
A client library for the Kubo RPC API
11 lines • 460 B
TypeScript
import type { ProvideStatOptions, ProvideStats } from './types.ts';
import type { HTTPRPCClient } from '../lib/core.ts';
export type { ProvideStatOptions, ProvideStats } from './types.ts';
export interface ProvideAPI {
/**
* Return statistics about the provider system
*/
stat(options?: ProvideStatOptions): Promise<ProvideStats>;
}
export declare function createProvide(client: HTTPRPCClient): ProvideAPI;
//# sourceMappingURL=index.d.ts.map