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 DisputeAlertsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } /** * A Dispute alert is an early warning from a card issuer that a settled payment is being questioned, ahead of any chargeback. `type` separates fraud reports (`early_fraud_warning`), pre-dispute notices (`dispute_alert`), and Visa RDR cases the network already closed by refunding (`rapid_dispute_resolution`). * * Use the Dispute alerts API to list alerts for an account, filter them by type or payment, and read `actionable` to see whether refunding can still avoid the chargeback. */ export declare class DisputeAlertsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: DisputeAlertsClient.Options); /** * Lists the dispute alerts and early fraud warnings across the accounts you can read. * * @param {Whop.ListDisputeAlertsRequest} request * @param {DisputeAlertsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.BadRequestError} * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.disputeAlerts.list() */ list(request?: Whop.ListDisputeAlertsRequest, requestOptions?: DisputeAlertsClient.RequestOptions): Promise>; /** * Retrieves a single dispute alert or early fraud warning by ID. * * @param {Whop.RetrieveDisputeAlertsRequest} request * @param {DisputeAlertsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.NotFoundError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.disputeAlerts.retrieve({ * id: "id" * }) */ retrieve(request: Whop.RetrieveDisputeAlertsRequest, requestOptions?: DisputeAlertsClient.RequestOptions): core.HttpResponsePromise; private __retrieve; }