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 CourseLessonInteractionsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class CourseLessonInteractionsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: CourseLessonInteractionsClient.Options); /** * Returns a paginated list of lesson interactions for a lesson or course. Callers without admin access to the course's experience see only their own interactions. * * Required permissions: * - `courses:read` * - `course_analytics:read` * * @param {Whop.ListCourseLessonInteractionsRequest} request * @param {CourseLessonInteractionsClient.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.courseLessonInteractions.list({ * first: 42, * last: 42, * user_id: "user_xxxxxxxxxxxxx", * lesson_id: "lesn_xxxxxxxxxxxxx", * course_id: "cors_xxxxxxxxxxxxx" * }) */ list(request?: Whop.ListCourseLessonInteractionsRequest, requestOptions?: CourseLessonInteractionsClient.RequestOptions): Promise>; /** * Retrieves the details of an existing course lesson interaction. * * Required permissions: * - `courses:read` * - `course_analytics:read` * * @param {Whop.RetrieveCourseLessonInteractionsRequest} request * @param {CourseLessonInteractionsClient.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.courseLessonInteractions.retrieve({ * id: "crsli_xxxxxxxxxxxx" * }) */ retrieve(request: Whop.RetrieveCourseLessonInteractionsRequest, requestOptions?: CourseLessonInteractionsClient.RequestOptions): core.HttpResponsePromise; private __retrieve; }