import { OneRosterCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import { APIError } from "../models/errors/apierror.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import * as errors from "../models/errors/index.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";
/**
 * Create Results for an Academic Session for a Class
 *
 * @remarks
 * To create a set of results for a specific academic session and specific class. The responding system must return the set of sourcedIds that have been allocated to the newly created result records. If the corresponding record cannot be located, the api will return a 404 error code and message 'Class or academic session not found.'
 */
export declare function classesCreateResults(client: OneRosterCore, request: operations.PostResultsForAcademicSessionForClassRequest, options?: RequestOptions): APIPromise<Result<operations.PostResultsForAcademicSessionForClassResponse, errors.BadRequestResponseError1 | errors.UnauthorizedRequestResponseError2 | errors.ForbiddenResponseError1 | errors.NotFoundResponseError2 | errors.UnprocessableEntityResponseError2 | errors.TooManyRequestsResponseError1 | errors.InternalServerErrorResponse1 | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=classesCreateResults.d.ts.map