import { WSRows } from "./wsRows"; import { TaosResult } from "../common/taosResult"; import { WSConfig } from "../common/config"; import { Precision, SchemalessProto } from "./wsProto"; import { WsStmt } from "../stmt/wsStmt"; export declare class WsSql { private wsConfig; private _wsClient; constructor(wsConfig: WSConfig); static open(wsConfig: WSConfig): Promise; state(): number; /** * return client version. */ version(): Promise; close(): Promise; schemalessInsert(lines: Array, protocol: SchemalessProto, precision: Precision, ttl: number, reqId?: number): Promise; stmtInit(reqId?: number): Promise; exec(sql: string, reqId?: number, action?: string): Promise; private executeSchemalessInsert; query(sql: string, reqId?: number): Promise; } //# sourceMappingURL=wsSql.d.ts.map