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 LedgerAccountsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class LedgerAccountsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: LedgerAccountsClient.Options); /** * Retrieves the details of an existing ledger account. * * Required permissions: * - `company:balance:read` * - `payout:account:read` * * @param {Whop.RetrieveLedgerAccountsRequest} request * @param {LedgerAccountsClient.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.ledgerAccounts.retrieve({ * id: "ldgr_xxxxxxxxxxxxx" * }) */ retrieve(request: Whop.RetrieveLedgerAccountsRequest, requestOptions?: LedgerAccountsClient.RequestOptions): core.HttpResponsePromise; private __retrieve; }