import type { DDL2 } from "@hpcc-js/ddl-shim"; import { IConnection, IOptions } from "../connection.ts"; import { Service } from "../espConnection.ts"; export type IFieldType = DDL2.IFieldType; export type IField = DDL2.IField; export type IWsEclRequest = IField[]; export type IWsEclResult = IField[]; export type IWsEclResponse = { [id: string]: IField[]; }; export declare class EclService extends Service { constructor(optsConnection: IOptions | IConnection); opts(): IOptions; requestJson(querySet: string, queryId: string): Promise; responseJson(querySet: string, queryId: string): Promise; submit(querySet: string, queryId: string, request: object): Promise; }