import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as Whop from "../../../index.js"; export declare namespace AccountLinksClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class AccountLinksClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: AccountLinksClient.Options); /** * Generates a URL that sends a sub-merchant to a hosted Whop page, such as the payouts dashboard or the KYC onboarding flow. Requires an API key. * * @param {Whop.CreateAccountLinksRequest} request * @param {AccountLinksClient.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.accountLinks.create({ * account_id: "biz_xxxxxxxxxxxxxx", * refresh_url: "refresh_url", * return_url: "return_url", * use_case: "account_onboarding" * }) */ create(request: Whop.CreateAccountLinksRequest, requestOptions?: AccountLinksClient.RequestOptions): core.HttpResponsePromise; private __create; }