import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const PutCourseComponentStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type PutCourseComponentStatus = ClosedEnum<typeof PutCourseComponentStatus>;
export type PutCourseComponentCourse = {
    sourcedId: string;
};
export type PutCourseComponentCourseComponent2 = {
    sourcedId: string;
};
export type PutCourseComponentParent = {
    sourcedId: string;
};
/**
 * Represents a component of a course.
 */
export type PutCourseComponentCourseComponent1 = {
    sourcedId?: string | undefined;
    status: PutCourseComponentStatus;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    course: PutCourseComponentCourse;
    courseComponent?: PutCourseComponentCourseComponent2 | null | undefined;
    parent?: PutCourseComponentParent | null | undefined;
    title: string;
    sortOrder?: number | undefined;
    prerequisites?: Array<string> | null | undefined;
    prerequisiteCriteria?: string | null | undefined;
    /**
     * The date the component is unlocked for the student
     */
    unlockDate?: string | undefined;
};
export type PutCourseComponentRequestBody = {
    /**
     * Represents a component of a course.
     */
    courseComponent: PutCourseComponentCourseComponent1;
};
export type PutCourseComponentRequest = {
    /**
     * The sourcedId of the course component to update
     */
    sourcedId: string;
    requestBody?: PutCourseComponentRequestBody | undefined;
};
/** @internal */
export declare const PutCourseComponentStatus$inboundSchema: z.ZodNativeEnum<typeof PutCourseComponentStatus>;
/** @internal */
export declare const PutCourseComponentStatus$outboundSchema: z.ZodNativeEnum<typeof PutCourseComponentStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentStatus$ {
    /** @deprecated use `PutCourseComponentStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `PutCourseComponentStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const PutCourseComponentCourse$inboundSchema: z.ZodType<PutCourseComponentCourse, z.ZodTypeDef, unknown>;
/** @internal */
export type PutCourseComponentCourse$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const PutCourseComponentCourse$outboundSchema: z.ZodType<PutCourseComponentCourse$Outbound, z.ZodTypeDef, PutCourseComponentCourse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentCourse$ {
    /** @deprecated use `PutCourseComponentCourse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PutCourseComponentCourse, z.ZodTypeDef, unknown>;
    /** @deprecated use `PutCourseComponentCourse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PutCourseComponentCourse$Outbound, z.ZodTypeDef, PutCourseComponentCourse>;
    /** @deprecated use `PutCourseComponentCourse$Outbound` instead. */
    type Outbound = PutCourseComponentCourse$Outbound;
}
export declare function putCourseComponentCourseToJSON(putCourseComponentCourse: PutCourseComponentCourse): string;
export declare function putCourseComponentCourseFromJSON(jsonString: string): SafeParseResult<PutCourseComponentCourse, SDKValidationError>;
/** @internal */
export declare const PutCourseComponentCourseComponent2$inboundSchema: z.ZodType<PutCourseComponentCourseComponent2, z.ZodTypeDef, unknown>;
/** @internal */
export type PutCourseComponentCourseComponent2$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const PutCourseComponentCourseComponent2$outboundSchema: z.ZodType<PutCourseComponentCourseComponent2$Outbound, z.ZodTypeDef, PutCourseComponentCourseComponent2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentCourseComponent2$ {
    /** @deprecated use `PutCourseComponentCourseComponent2$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PutCourseComponentCourseComponent2, z.ZodTypeDef, unknown>;
    /** @deprecated use `PutCourseComponentCourseComponent2$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PutCourseComponentCourseComponent2$Outbound, z.ZodTypeDef, PutCourseComponentCourseComponent2>;
    /** @deprecated use `PutCourseComponentCourseComponent2$Outbound` instead. */
    type Outbound = PutCourseComponentCourseComponent2$Outbound;
}
export declare function putCourseComponentCourseComponent2ToJSON(putCourseComponentCourseComponent2: PutCourseComponentCourseComponent2): string;
export declare function putCourseComponentCourseComponent2FromJSON(jsonString: string): SafeParseResult<PutCourseComponentCourseComponent2, SDKValidationError>;
/** @internal */
export declare const PutCourseComponentParent$inboundSchema: z.ZodType<PutCourseComponentParent, z.ZodTypeDef, unknown>;
/** @internal */
export type PutCourseComponentParent$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const PutCourseComponentParent$outboundSchema: z.ZodType<PutCourseComponentParent$Outbound, z.ZodTypeDef, PutCourseComponentParent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentParent$ {
    /** @deprecated use `PutCourseComponentParent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PutCourseComponentParent, z.ZodTypeDef, unknown>;
    /** @deprecated use `PutCourseComponentParent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PutCourseComponentParent$Outbound, z.ZodTypeDef, PutCourseComponentParent>;
    /** @deprecated use `PutCourseComponentParent$Outbound` instead. */
    type Outbound = PutCourseComponentParent$Outbound;
}
export declare function putCourseComponentParentToJSON(putCourseComponentParent: PutCourseComponentParent): string;
export declare function putCourseComponentParentFromJSON(jsonString: string): SafeParseResult<PutCourseComponentParent, SDKValidationError>;
/** @internal */
export declare const PutCourseComponentCourseComponent1$inboundSchema: z.ZodType<PutCourseComponentCourseComponent1, z.ZodTypeDef, unknown>;
/** @internal */
export type PutCourseComponentCourseComponent1$Outbound = {
    sourcedId?: string | undefined;
    status: string;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    course: PutCourseComponentCourse$Outbound;
    courseComponent?: PutCourseComponentCourseComponent2$Outbound | null | undefined;
    parent?: PutCourseComponentParent$Outbound | null | undefined;
    title: string;
    sortOrder?: number | undefined;
    prerequisites?: Array<string> | null | undefined;
    prerequisiteCriteria?: string | null | undefined;
    unlockDate?: string | undefined;
};
/** @internal */
export declare const PutCourseComponentCourseComponent1$outboundSchema: z.ZodType<PutCourseComponentCourseComponent1$Outbound, z.ZodTypeDef, PutCourseComponentCourseComponent1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentCourseComponent1$ {
    /** @deprecated use `PutCourseComponentCourseComponent1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PutCourseComponentCourseComponent1, z.ZodTypeDef, unknown>;
    /** @deprecated use `PutCourseComponentCourseComponent1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PutCourseComponentCourseComponent1$Outbound, z.ZodTypeDef, PutCourseComponentCourseComponent1>;
    /** @deprecated use `PutCourseComponentCourseComponent1$Outbound` instead. */
    type Outbound = PutCourseComponentCourseComponent1$Outbound;
}
export declare function putCourseComponentCourseComponent1ToJSON(putCourseComponentCourseComponent1: PutCourseComponentCourseComponent1): string;
export declare function putCourseComponentCourseComponent1FromJSON(jsonString: string): SafeParseResult<PutCourseComponentCourseComponent1, SDKValidationError>;
/** @internal */
export declare const PutCourseComponentRequestBody$inboundSchema: z.ZodType<PutCourseComponentRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type PutCourseComponentRequestBody$Outbound = {
    courseComponent: PutCourseComponentCourseComponent1$Outbound;
};
/** @internal */
export declare const PutCourseComponentRequestBody$outboundSchema: z.ZodType<PutCourseComponentRequestBody$Outbound, z.ZodTypeDef, PutCourseComponentRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentRequestBody$ {
    /** @deprecated use `PutCourseComponentRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PutCourseComponentRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `PutCourseComponentRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PutCourseComponentRequestBody$Outbound, z.ZodTypeDef, PutCourseComponentRequestBody>;
    /** @deprecated use `PutCourseComponentRequestBody$Outbound` instead. */
    type Outbound = PutCourseComponentRequestBody$Outbound;
}
export declare function putCourseComponentRequestBodyToJSON(putCourseComponentRequestBody: PutCourseComponentRequestBody): string;
export declare function putCourseComponentRequestBodyFromJSON(jsonString: string): SafeParseResult<PutCourseComponentRequestBody, SDKValidationError>;
/** @internal */
export declare const PutCourseComponentRequest$inboundSchema: z.ZodType<PutCourseComponentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type PutCourseComponentRequest$Outbound = {
    sourcedId: string;
    RequestBody?: PutCourseComponentRequestBody$Outbound | undefined;
};
/** @internal */
export declare const PutCourseComponentRequest$outboundSchema: z.ZodType<PutCourseComponentRequest$Outbound, z.ZodTypeDef, PutCourseComponentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PutCourseComponentRequest$ {
    /** @deprecated use `PutCourseComponentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PutCourseComponentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `PutCourseComponentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PutCourseComponentRequest$Outbound, z.ZodTypeDef, PutCourseComponentRequest>;
    /** @deprecated use `PutCourseComponentRequest$Outbound` instead. */
    type Outbound = PutCourseComponentRequest$Outbound;
}
export declare function putCourseComponentRequestToJSON(putCourseComponentRequest: PutCourseComponentRequest): string;
export declare function putCourseComponentRequestFromJSON(jsonString: string): SafeParseResult<PutCourseComponentRequest, SDKValidationError>;
//# sourceMappingURL=putcoursecomponent.d.ts.map