kodi-api
Version:
A complete implementation of Kodi JSON-RPC calls in an easy-to-use Javascript/TypeScript client.
12 lines (11 loc) • 529 B
TypeScript
import type { KodiClient } from './KodiClient';
import type { KodiMethod } from './Types';
/** Dynamic class for constructing a namespace of Kodi method funcions. */
export declare class KodiMethodNamespace {
constructor(nameSpace: string, initMethodName: string, thisArg: KodiClient);
[method: string]: KodiMethod;
/** Method to list methods for this namespace. */
listMethods: () => Promise<string[]>;
/** Method to list methods for this namespace. */
ListMethods: () => Promise<string[]>;
}