import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as BasisTheory from "../../../index.js"; import { Results } from "../resources/results/client/Client.js"; export declare namespace Reactors { interface Options extends BaseClientOptions { } interface RequestOptions extends BaseRequestOptions { } interface IdempotentRequestOptions extends RequestOptions, BaseIdempotentRequestOptions { } } export declare class Reactors { protected readonly _options: Reactors.Options; protected _results: Results | undefined; constructor(_options?: Reactors.Options); get results(): Results; /** * @param {BasisTheory.ReactorsListRequest} request * @param {Reactors.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.reactors.list() */ list(request?: BasisTheory.ReactorsListRequest, requestOptions?: Reactors.RequestOptions): Promise>; /** * @param {BasisTheory.CreateReactorRequest} request * @param {Reactors.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * * @example * await client.reactors.create({ * name: "name", * code: "code" * }) */ create(request: BasisTheory.CreateReactorRequest, requestOptions?: Reactors.IdempotentRequestOptions): core.HttpResponsePromise; private __create; /** * @param {string} id * @param {Reactors.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.reactors.get("id") */ get(id: string, requestOptions?: Reactors.RequestOptions): core.HttpResponsePromise; private __get; /** * @param {string} id * @param {BasisTheory.UpdateReactorRequest} request * @param {Reactors.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.reactors.update("id", { * name: "name", * code: "code" * }) */ update(id: string, request: BasisTheory.UpdateReactorRequest, requestOptions?: Reactors.IdempotentRequestOptions): core.HttpResponsePromise; private __update; /** * @param {string} id * @param {Reactors.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.reactors.delete("id") */ delete(id: string, requestOptions?: Reactors.RequestOptions): core.HttpResponsePromise; private __delete; /** * @param {string} id * @param {BasisTheory.PatchReactorRequest} request * @param {Reactors.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.reactors.patch("id") */ patch(id: string, request?: BasisTheory.PatchReactorRequest, requestOptions?: Reactors.IdempotentRequestOptions): core.HttpResponsePromise; private __patch; /** * @param {string} id * @param {unknown} request * @param {Reactors.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * @throws {@link BasisTheory.UnprocessableEntityError} * * @example * await client.reactors.react("id", { * "key": "value" * }) */ react(id: string, request?: unknown, requestOptions?: Reactors.RequestOptions): core.HttpResponsePromise; private __react; /** * @param {string} id * @param {unknown} request * @param {Reactors.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * @throws {@link BasisTheory.UnprocessableEntityError} * * @example * await client.reactors.reactAsync("id", { * "key": "value" * }) */ reactAsync(id: string, request?: unknown, requestOptions?: Reactors.RequestOptions): core.HttpResponsePromise; private __reactAsync; protected _getCustomAuthorizationHeaders(): Promise>; }