import { HttpRequestParameters } from "../../../Primitives/Http.js"; import { IOperation, OperationResultType } from "../OperationAbstractions.js"; import { CompareExchangeValue } from "./CompareExchangeValue.js"; import { RavenCommand } from "../../../Http/RavenCommand.js"; import { HttpCache } from "../../../Http/HttpCache.js"; import { DocumentConventions } from "../../Conventions/DocumentConventions.js"; import { IDocumentStore } from "../../IDocumentStore.js"; import { ServerNode } from "../../../Http/ServerNode.js"; import { CompareExchangeResultClass } from "../../../Types/index.js"; import { Stream } from "node:stream"; export declare class GetCompareExchangeValueOperation implements IOperation> { private readonly _key; private readonly _materializeMetadata; private readonly _clazz; constructor(key: string, clazz?: CompareExchangeResultClass, materializeMetadata?: boolean); getCommand(store: IDocumentStore, conventions: DocumentConventions, cache: HttpCache): RavenCommand>; get resultType(): OperationResultType; } export declare class GetCompareExchangeValueCommand extends RavenCommand> { private readonly _key; private readonly _clazz; private readonly _materializeMetadata; private readonly _conventions; constructor(key: string, materializeMetadata: boolean, conventions: DocumentConventions, clazz?: CompareExchangeResultClass); get isReadRequest(): boolean; createRequest(node: ServerNode): HttpRequestParameters; setResponseAsync(bodyStream: Stream, fromCache: boolean): Promise; } //# sourceMappingURL=GetCompareExchangeValueOperation.d.ts.map