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 a new Grading Period for a Term
 *
 * @remarks
 * To create a new Grading Period for a Term. A Grading Period is a type of Academic Session. The responding system must return the set of sourcedIds that have been allocated to the newly created academicSession record.
 */
export declare function gradingPeriodsCreateForTerm(client: OneRosterCore, request: operations.CreateGradingPeriodForTermRequest, options?: RequestOptions): APIPromise<Result<operations.CreateGradingPeriodForTermResponse, errors.BadRequestResponseError1 | errors.UnauthorizedRequestResponseError1 | errors.ForbiddenResponseError1 | errors.NotFoundResponseError1 | errors.UnprocessableEntityResponseError1 | errors.TooManyRequestsResponseError2 | errors.InternalServerErrorResponse1 | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=gradingPeriodsCreateForTerm.d.ts.map