import { HttpError } from './http-error.js'; import { HttpQuery } from './http-query.js'; import { HttpQueryResult } from './http-query-result.js'; import { HttpResultSet } from './http-result-set.js'; export declare enum HttpCommand { NONE = 0, HttpQuery = 1, HttpResultSet = 2, HttpError = 3, HttpQueryResult = 4 } export declare function unionToHttpCommand(type: HttpCommand, accessor: (obj: HttpError | HttpQuery | HttpQueryResult | HttpResultSet) => HttpError | HttpQuery | HttpQueryResult | HttpResultSet | null): HttpError | HttpQuery | HttpQueryResult | HttpResultSet | null; export declare function unionListToHttpCommand(type: HttpCommand, accessor: (index: number, obj: HttpError | HttpQuery | HttpQueryResult | HttpResultSet) => HttpError | HttpQuery | HttpQueryResult | HttpResultSet | null, index: number): HttpError | HttpQuery | HttpQueryResult | HttpResultSet | null; //# sourceMappingURL=http-command.d.ts.map