import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as BasisTheory from "../../../index.js"; export declare namespace Sessions { interface Options extends BaseClientOptions { } interface RequestOptions extends BaseRequestOptions { } interface IdempotentRequestOptions extends RequestOptions, BaseIdempotentRequestOptions { } } export declare class Sessions { protected readonly _options: Sessions.Options; constructor(_options?: Sessions.Options); /** * @param {Sessions.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * * @example * await client.sessions.create() */ create(requestOptions?: Sessions.IdempotentRequestOptions): core.HttpResponsePromise; private __create; /** * @param {BasisTheory.AuthorizeSessionRequest} request * @param {Sessions.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * @throws {@link BasisTheory.ConflictError} * * @example * await client.sessions.authorize({ * nonce: "nonce" * }) */ authorize(request: BasisTheory.AuthorizeSessionRequest, requestOptions?: Sessions.IdempotentRequestOptions): core.HttpResponsePromise; private __authorize; protected _getCustomAuthorizationHeaders(): Promise>; }