import { CompareExchangeValue } from "./CompareExchangeValue.js"; import { CompareExchangeValueState } from "./CompareExchangeValueState.js"; import { CompareExchangeResultClass } from "../../../Types/index.js"; import { DocumentConventions } from "../../Conventions/DocumentConventions.js"; import { ICommandData } from "../../Commands/CommandData.js"; import { ITypesAwareObjectMapper } from "../../../Mapping/ObjectMapper.js"; import { IMetadataDictionary } from "../../Session/IMetadataDictionary.js"; export declare class CompareExchangeSessionValue { private readonly _key; private _index; private _originalValue; private _value; private _state; constructor(key: string, index: number, state: CompareExchangeValueState); constructor(value: CompareExchangeValue); getValue(clazz: CompareExchangeResultClass, conventions: DocumentConventions): CompareExchangeValue; create(item: T): CompareExchangeValue; delete(index: number): void; private _assertState; getCommand(conventions: DocumentConventions): ICommandData; private _convertEntity; hasChanged(originalValue: CompareExchangeValue, newValue: CompareExchangeValue): boolean; updateState(index: number): void; updateValue(value: CompareExchangeValue, mapper: ITypesAwareObjectMapper): void; static prepareMetadataForPut(key: string, metadataDictionary: IMetadataDictionary, conventions: DocumentConventions): object; private static _throwInvalidExpiresMetadata; } //# sourceMappingURL=CompareExchangeSessionValue.d.ts.map