import { HttpRequestParameters } from "../../../Primitives/Http.js"; import { IOperation, OperationResultType } from "../OperationAbstractions.js"; import { CompareExchangeResult } from "./CompareExchangeResult.js"; import { RavenCommand } from "../../../Http/RavenCommand.js"; import { IDocumentStore } from "../../IDocumentStore.js"; import { DocumentConventions } from "../../Conventions/DocumentConventions.js"; import { HttpCache } from "../../../Http/HttpCache.js"; import { ServerNode } from "../../../Http/ServerNode.js"; import { Stream } from "node:stream"; import { IRaftCommand } from "../../../Http/IRaftCommand.js"; import { IMetadataDictionary } from "../../Session/IMetadataDictionary.js"; export declare class PutCompareExchangeValueOperation implements IOperation> { private readonly _key; private readonly _value; private readonly _index; private readonly _metadata; constructor(key: string, value: T, index: number); constructor(key: string, value: T, index: number, metadata: IMetadataDictionary); getCommand(store: IDocumentStore, conventions: DocumentConventions, cache: HttpCache): RavenCommand>; get resultType(): OperationResultType; } export declare class PutCompareExchangeValueCommand extends RavenCommand> implements IRaftCommand { private readonly _key; private readonly _value; private readonly _index; private readonly _conventions; private readonly _metadata; constructor(key: string, value: T, index: number, metadata: IMetadataDictionary, conventions: DocumentConventions); get isReadRequest(): boolean; createRequest(node: ServerNode): HttpRequestParameters; setResponseAsync(bodyStream: Stream, fromCache: boolean): Promise; getRaftUniqueRequestId(): string; } //# sourceMappingURL=PutCompareExchangeValueOperation.d.ts.map