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 Course Component
 *
 * @remarks
 * Used when creating a new course component or module
 */
export declare function coursesCreateComponent(client: OneRosterCore, request?: operations.CreateCourseComponentRequest | undefined, options?: RequestOptions): APIPromise<Result<operations.CreateCourseComponentResponse, errors.BadRequestResponseError1 | errors.UnauthorizedRequestResponseError2 | errors.ForbiddenResponseError1 | errors.NotFoundResponseError1 | errors.UnprocessableEntityResponseError2 | errors.TooManyRequestsResponseError1 | errors.InternalServerErrorResponse1 | APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
//# sourceMappingURL=coursesCreateComponent.d.ts.map