import { OperationCompletionAwaiter } from "./OperationCompletionAwaiter.js"; import { IOperation, AwaitableOperation } from "./OperationAbstractions.js"; import { DocumentStoreBase } from "../DocumentStoreBase.js"; import { SessionInfo } from "../Session/IDocumentSession.js"; import { PatchOperation, PatchOperationResult } from "./PatchOperation.js"; import { DocumentType } from "../DocumentAbstractions.js"; import { IDocumentStore } from "../IDocumentStore.js"; export declare class OperationExecutor { private readonly _store; private readonly _databaseName; private _requestExecutor; constructor(store: DocumentStoreBase); constructor(store: IDocumentStore, databaseName?: string); private getRequestExecutor; forDatabase(databaseName: string): OperationExecutor; send(operation: AwaitableOperation): Promise; send(operation: AwaitableOperation, sessionInfo?: SessionInfo): Promise; send(patchOperation: PatchOperation): Promise>; send(patchOperation: PatchOperation, sessionInfo: SessionInfo): Promise>; send(patchOperation: PatchOperation, sessionInfo: SessionInfo, resultType: DocumentType): Promise>; send(operation: IOperation): Promise; send(operation: IOperation, sessionInfo?: SessionInfo): Promise; } //# sourceMappingURL=OperationExecutor.d.ts.map