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 ApiLogsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } /** * An Api Log is a record of a single request made to Whop's API using one of your account's API keys — the programmatic counterpart to the dashboard audit log, which only records actions taken by signed-in team members. Reads and failed requests are logged too. * * Use the Api Logs API to see what your integrations are doing on Whop: the operation, HTTP method and status, outcome, and timing of each request, newest first. */ export declare class ApiLogsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: ApiLogsClient.Options); /** * Lists the requests served by Whop's API with the account's API keys, newest first — every surface (GraphQL, REST, and native /api/v1), reads and failed requests included. * * @param {Whop.ListApiLogsRequest} request * @param {ApiLogsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Whop.UnauthorizedError} * @throws {@link Whop.ForbiddenError} * @throws {@link Whop.TooManyRequestsError} * @throws {@link errors.WhopError} * @throws {@link errors.WhopTimeoutError} * * @example * await client.apiLogs.list() */ list(request?: Whop.ListApiLogsRequest, requestOptions?: ApiLogsClient.RequestOptions): Promise>; }