kernel-handshake-client/dist/index.d.ts

12 lines
387 B
TypeScript

import { Client } from "@lumeweb/libkernel-universal";
export interface Response {
id?: number;
error?: string;
result: any;
}
export declare class HandshakeClient extends Client {
ready(): Promise<void>;
query(method: string, params: any): Promise<Response>;
}
export declare const createClient: (...args: any) => HandshakeClient;
//# sourceMappingURL=index.d.ts.map