UNPKG

@monkdb/monkdb

Version:

🚀 Official TypeScript SDK for MonkDB — a unified, AI-native database for diverse data workloads

19 lines • 664 B
import { Readable } from 'stream'; export interface MonkServerOptions { username?: string; password?: string; schema?: string; } export declare class MonkServer { readonly url: string; private readonly username?; private readonly password?; private readonly schema?; constructor(url: string, options?: MonkServerOptions); sendRequest(method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD', path: string, body?: Buffer | Readable, headers?: Record<string, string>): Promise<{ status: number; data: any; headers: Record<string, string | string[] | undefined>; }>; } //# sourceMappingURL=MonkServer.d.ts.map