import { PowerPathCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.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";
/**
 * Update student question response
 *
 * @remarks
 * Updates the student's response to a question and returns the updated PowerPath score:
 * - Checks the correctness of the response using the QTI question `<qti-response-declaration>` element and update the score accordingly.
 * - Creates/updates the AssessmentLineItem and AssessmentResult objects for the student/question pair if it doesn't exist yet.
 *
 * A 'Lesson' in this context is a ComponentResource object which has a Resource object associated with it.
 */
export declare function lessonsUpdateStudentResponse(client: PowerPathCore, request?: components.UpdateStudentQuestionResponseInput | undefined, options?: RequestOptions): APIPromise<Result<operations.UpdateStudentQuestionResponseResponse, errors.BadRequestResponseError | errors.UnauthorizedRequestResponseError | errors.ForbiddenResponseError | errors.NotFoundResponseError | errors.UnprocessableEntityResponseError | errors.TooManyRequestsResponseError | errors.InternalServerErrorResponse | PowerPathError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=lessonsUpdateStudentResponse.d.ts.map