import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import * as core from "../../../../core/index.mjs"; import * as Whop from "../../../index.mjs"; export declare namespace PayoutMethodsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class PayoutMethodsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: PayoutMethodsClient.Options); /** * Lists the active payout methods configured for an account, newest first. * * Required permissions: * - `payout:destination:read` * * @param {Whop.ListPayoutMethodRequest} request * @param {PayoutMethodsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.BadRequestError} * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.NotFoundError} * @throws {@link Whop.UnprocessableEntityError} * @throws {@link Whop.TooManyRequestsError} * @throws {@link Whop.InternalServerError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.payoutMethods.listPayoutMethod({ * first: 42, * last: 42, * account_id: "biz_xxxxxxxxxxxxxx" * }) */ listPayoutMethod(request: Whop.ListPayoutMethodRequest, requestOptions?: PayoutMethodsClient.RequestOptions): Promise>; /** * Retrieves the details of an existing payout method. * * Required permissions: * - `payout:destination:read` * * @param {Whop.RetrievePayoutMethodRequest} request * @param {PayoutMethodsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.BadRequestError} * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.NotFoundError} * @throws {@link Whop.UnprocessableEntityError} * @throws {@link Whop.TooManyRequestsError} * @throws {@link Whop.InternalServerError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.payoutMethods.retrievePayoutMethod({ * id: "potk_xxxxxxxxxxxxx" * }) */ retrievePayoutMethod(request: Whop.RetrievePayoutMethodRequest, requestOptions?: PayoutMethodsClient.RequestOptions): core.HttpResponsePromise; private __retrievePayoutMethod; }