///
import { HttpRequestParameters } from "../../../Primitives/Http";
import { IOperation, OperationResultType } from "../OperationAbstractions";
import { CompareExchangeValue } from "./CompareExchangeValue";
import { CompareExchangeResultClass, ServerCasing, ServerResponse } from "../../../Types";
import { IDocumentStore } from "../../IDocumentStore";
import { DocumentConventions } from "../../Conventions/DocumentConventions";
import { HttpCache } from "../../../Http/HttpCache";
import { RavenCommand } from "../../../Http/RavenCommand";
import { ServerNode } from "../../../Http/ServerNode";
import { GetCompareExchangeValuesResponse } from "./CompareExchangeValueResultParser";
import * as stream from "readable-stream";
export interface GetCompareExchangeValuesParameters {
keys?: string[];
startWith?: string;
start?: number;
pageSize?: number;
materializeMetadata?: boolean;
clazz?: CompareExchangeResultClass;
}
export declare class GetCompareExchangeValuesOperation implements IOperation<{
[key: string]: CompareExchangeValue;
}> {
private readonly _clazz;
private readonly _keys;
private readonly _startWith;
private readonly _start;
private readonly _pageSize;
private readonly _materializeMetadata;
get keys(): string[];
get startWith(): string;
get start(): number;
get pageSize(): number;
get clazz(): CompareExchangeResultClass;
constructor(parameters: GetCompareExchangeValuesParameters);
getCommand(store: IDocumentStore, conventions: DocumentConventions, cache: HttpCache): RavenCommand<{
[key: string]: CompareExchangeValue;
}>;
get resultType(): OperationResultType;
}
export declare class GetCompareExchangeValuesCommand extends RavenCommand<{
[key: string]: CompareExchangeValue;
}> {
private _operation;
private readonly _materializeMetadata;
private readonly _conventions;
constructor(operation: GetCompareExchangeValuesOperation, materializeMetadata: boolean, conventions: DocumentConventions);
get isReadRequest(): boolean;
createRequest(node: ServerNode): HttpRequestParameters;
setResponseAsync(bodyStream: stream.Stream, fromCache: boolean): Promise;
static mapToLocalObject(json: ServerCasing>): GetCompareExchangeValuesResponse;
}