import { PowerPathCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import * as errors from "../models/errors/index.js";
import { PowerPathError } from "../models/errors/powerpatherror.js";
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import * as operations from "../models/operations/index.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Get all attempts
 *
 * @remarks
 * Returns a list of all attempts for a student in a lesson
 *
 * For Assessment Bank lessons, each attempt may represent a different sub test of the bank. Review results with care.
 *
 * A 'Lesson' in this context is a ComponentResource object which has a Resource object associated with it.
 */
export declare function lessonsGetAttempts(client: PowerPathCore, request: operations.GetAttemptsRequest, options?: RequestOptions): APIPromise<Result<operations.GetAttemptsResponse, errors.BadRequestResponseError | errors.UnauthorizedRequestResponseError | errors.ForbiddenResponseError | errors.NotFoundResponseError | errors.UnprocessableEntityResponseError | errors.TooManyRequestsResponseError | errors.InternalServerErrorResponse | PowerPathError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=lessonsGetAttempts.d.ts.map