import { Gr4vyCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { Gr4vyError } from "../models/errors/gr4vyerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import * as errors from "../models/errors/index.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Void transaction * * @remarks * Voids a previously authorized transaction. If the transaction was not yet successfully authorized, or was already captured, the void will not be processed. This operation releases the hold on the buyer's funds. Captured transactions can be refunded instead. */ export declare function transactionsVoid(client: Gr4vyCore, transactionId: string, prefer?: Array | null | undefined, merchantAccountId?: string | null | undefined, idempotencyKey?: string | null | undefined, options?: RequestOptions): APIPromise>; //# sourceMappingURL=transactionsVoid.d.ts.map