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";
/**
 * Reset attempt
 *
 * @remarks
 * Resets the attempt for the given PowerPath lesson of a student:
 * - Soft-deletes all previous question responses, resets the test score to 0, and updates its 'scoreStatus' to "not submitted".
 * - If the lesson is an external test, only resets the test score to 0.
 *
 * For Assessment Bank lessons, this will keep the user state in the same bank test for the current attempt.
 *
 * A 'Lesson' in this context is a ComponentResource object which has a Resource object associated with it.
 */
export declare function lessonsResetAttempt(client: PowerPathCore, request?: operations.ResetAttemptRequest | undefined, options?: RequestOptions): APIPromise<Result<operations.ResetAttemptResponse, errors.BadRequestResponseError | errors.UnauthorizedRequestResponseError | errors.ForbiddenResponseError | errors.NotFoundResponseError | errors.UnprocessableEntityResponseError | errors.TooManyRequestsResponseError | errors.InternalServerErrorResponse | PowerPathError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=lessonsResetAttempt.d.ts.map