import { IConnection, IOptions } from "../connection";
export declare type IPrimativeFieldType = "boolean" | "number" | "number64" | "string";
export declare type IFieldType = IPrimativeFieldType | "range" | "dataset";
export interface IField {
    id: string;
    type: IFieldType;
    default?: boolean | number | string | [undefined | IPrimativeFieldType, undefined | IPrimativeFieldType] | IField[];
    children?: IField[];
}
export declare type IWsEclRequest = IField[];
export declare type IWsEclResult = IField[];
export declare type IWsEclResponse = {
    [id: string]: IField[];
};
export declare class EclService {
    private _connection;
    constructor(optsConnection: IOptions | IConnection);
    opts(): IOptions;
    requestJson(querySet: string, queryId: string): Promise<IWsEclRequest>;
    responseJson(querySet: string, queryId: string): Promise<IWsEclResponse>;
    submit(querySet: string, queryId: string, request: object): Promise<any>;
}
//# sourceMappingURL=wsEcl.d.ts.map