helix-ts
Version:
TypeScript Library for working with HelixDB
14 lines • 456 B
TypeScript
import { HelixDBClient, HelixDBInput, HelixDBResponse } from "./types";
declare class HelixDB implements HelixDBClient {
url: string;
/**
* Create a new HelixDB client
* @param url - The url of the HelixDB server
*
* (default: `https://localhost:6969`)
*/
constructor(url?: string);
query(endpoint: string, data: HelixDBInput): Promise<HelixDBResponse>;
}
export default HelixDB;
//# sourceMappingURL=index.d.ts.map