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 CreateCourseComponentStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type CreateCourseComponentStatus = ClosedEnum<typeof CreateCourseComponentStatus>;
export type CreateCourseComponentCourse = {
    sourcedId: string;
};
export type CreateCourseComponentCourseComponent2 = {
    sourcedId: string;
};
export type CreateCourseComponentParent = {
    sourcedId: string;
};
/**
 * Represents a component of a course.
 */
export type CreateCourseComponentCourseComponent1 = {
    sourcedId?: string | undefined;
    status: CreateCourseComponentStatus;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    course: CreateCourseComponentCourse;
    courseComponent?: CreateCourseComponentCourseComponent2 | null | undefined;
    parent?: CreateCourseComponentParent | 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 CreateCourseComponentRequest = {
    /**
     * Represents a component of a course.
     */
    courseComponent: CreateCourseComponentCourseComponent1;
};
export type CreateCourseComponentSourcedIdPairs = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/**
 * Created Course Component Successfully
 */
export type CreateCourseComponentResponse = {
    sourcedIdPairs: CreateCourseComponentSourcedIdPairs;
};
/** @internal */
export declare const CreateCourseComponentStatus$inboundSchema: z.ZodNativeEnum<typeof CreateCourseComponentStatus>;
/** @internal */
export declare const CreateCourseComponentStatus$outboundSchema: z.ZodNativeEnum<typeof CreateCourseComponentStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentStatus$ {
    /** @deprecated use `CreateCourseComponentStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `CreateCourseComponentStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const CreateCourseComponentCourse$inboundSchema: z.ZodType<CreateCourseComponentCourse, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentCourse$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const CreateCourseComponentCourse$outboundSchema: z.ZodType<CreateCourseComponentCourse$Outbound, z.ZodTypeDef, CreateCourseComponentCourse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentCourse$ {
    /** @deprecated use `CreateCourseComponentCourse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentCourse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentCourse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentCourse$Outbound, z.ZodTypeDef, CreateCourseComponentCourse>;
    /** @deprecated use `CreateCourseComponentCourse$Outbound` instead. */
    type Outbound = CreateCourseComponentCourse$Outbound;
}
export declare function createCourseComponentCourseToJSON(createCourseComponentCourse: CreateCourseComponentCourse): string;
export declare function createCourseComponentCourseFromJSON(jsonString: string): SafeParseResult<CreateCourseComponentCourse, SDKValidationError>;
/** @internal */
export declare const CreateCourseComponentCourseComponent2$inboundSchema: z.ZodType<CreateCourseComponentCourseComponent2, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentCourseComponent2$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const CreateCourseComponentCourseComponent2$outboundSchema: z.ZodType<CreateCourseComponentCourseComponent2$Outbound, z.ZodTypeDef, CreateCourseComponentCourseComponent2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentCourseComponent2$ {
    /** @deprecated use `CreateCourseComponentCourseComponent2$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentCourseComponent2, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentCourseComponent2$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentCourseComponent2$Outbound, z.ZodTypeDef, CreateCourseComponentCourseComponent2>;
    /** @deprecated use `CreateCourseComponentCourseComponent2$Outbound` instead. */
    type Outbound = CreateCourseComponentCourseComponent2$Outbound;
}
export declare function createCourseComponentCourseComponent2ToJSON(createCourseComponentCourseComponent2: CreateCourseComponentCourseComponent2): string;
export declare function createCourseComponentCourseComponent2FromJSON(jsonString: string): SafeParseResult<CreateCourseComponentCourseComponent2, SDKValidationError>;
/** @internal */
export declare const CreateCourseComponentParent$inboundSchema: z.ZodType<CreateCourseComponentParent, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentParent$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const CreateCourseComponentParent$outboundSchema: z.ZodType<CreateCourseComponentParent$Outbound, z.ZodTypeDef, CreateCourseComponentParent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentParent$ {
    /** @deprecated use `CreateCourseComponentParent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentParent, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentParent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentParent$Outbound, z.ZodTypeDef, CreateCourseComponentParent>;
    /** @deprecated use `CreateCourseComponentParent$Outbound` instead. */
    type Outbound = CreateCourseComponentParent$Outbound;
}
export declare function createCourseComponentParentToJSON(createCourseComponentParent: CreateCourseComponentParent): string;
export declare function createCourseComponentParentFromJSON(jsonString: string): SafeParseResult<CreateCourseComponentParent, SDKValidationError>;
/** @internal */
export declare const CreateCourseComponentCourseComponent1$inboundSchema: z.ZodType<CreateCourseComponentCourseComponent1, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentCourseComponent1$Outbound = {
    sourcedId?: string | undefined;
    status: string;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    course: CreateCourseComponentCourse$Outbound;
    courseComponent?: CreateCourseComponentCourseComponent2$Outbound | null | undefined;
    parent?: CreateCourseComponentParent$Outbound | null | undefined;
    title: string;
    sortOrder?: number | undefined;
    prerequisites?: Array<string> | null | undefined;
    prerequisiteCriteria?: string | null | undefined;
    unlockDate?: string | undefined;
};
/** @internal */
export declare const CreateCourseComponentCourseComponent1$outboundSchema: z.ZodType<CreateCourseComponentCourseComponent1$Outbound, z.ZodTypeDef, CreateCourseComponentCourseComponent1>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentCourseComponent1$ {
    /** @deprecated use `CreateCourseComponentCourseComponent1$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentCourseComponent1, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentCourseComponent1$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentCourseComponent1$Outbound, z.ZodTypeDef, CreateCourseComponentCourseComponent1>;
    /** @deprecated use `CreateCourseComponentCourseComponent1$Outbound` instead. */
    type Outbound = CreateCourseComponentCourseComponent1$Outbound;
}
export declare function createCourseComponentCourseComponent1ToJSON(createCourseComponentCourseComponent1: CreateCourseComponentCourseComponent1): string;
export declare function createCourseComponentCourseComponent1FromJSON(jsonString: string): SafeParseResult<CreateCourseComponentCourseComponent1, SDKValidationError>;
/** @internal */
export declare const CreateCourseComponentRequest$inboundSchema: z.ZodType<CreateCourseComponentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentRequest$Outbound = {
    courseComponent: CreateCourseComponentCourseComponent1$Outbound;
};
/** @internal */
export declare const CreateCourseComponentRequest$outboundSchema: z.ZodType<CreateCourseComponentRequest$Outbound, z.ZodTypeDef, CreateCourseComponentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentRequest$ {
    /** @deprecated use `CreateCourseComponentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentRequest$Outbound, z.ZodTypeDef, CreateCourseComponentRequest>;
    /** @deprecated use `CreateCourseComponentRequest$Outbound` instead. */
    type Outbound = CreateCourseComponentRequest$Outbound;
}
export declare function createCourseComponentRequestToJSON(createCourseComponentRequest: CreateCourseComponentRequest): string;
export declare function createCourseComponentRequestFromJSON(jsonString: string): SafeParseResult<CreateCourseComponentRequest, SDKValidationError>;
/** @internal */
export declare const CreateCourseComponentSourcedIdPairs$inboundSchema: z.ZodType<CreateCourseComponentSourcedIdPairs, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentSourcedIdPairs$Outbound = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/** @internal */
export declare const CreateCourseComponentSourcedIdPairs$outboundSchema: z.ZodType<CreateCourseComponentSourcedIdPairs$Outbound, z.ZodTypeDef, CreateCourseComponentSourcedIdPairs>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentSourcedIdPairs$ {
    /** @deprecated use `CreateCourseComponentSourcedIdPairs$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentSourcedIdPairs, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentSourcedIdPairs$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentSourcedIdPairs$Outbound, z.ZodTypeDef, CreateCourseComponentSourcedIdPairs>;
    /** @deprecated use `CreateCourseComponentSourcedIdPairs$Outbound` instead. */
    type Outbound = CreateCourseComponentSourcedIdPairs$Outbound;
}
export declare function createCourseComponentSourcedIdPairsToJSON(createCourseComponentSourcedIdPairs: CreateCourseComponentSourcedIdPairs): string;
export declare function createCourseComponentSourcedIdPairsFromJSON(jsonString: string): SafeParseResult<CreateCourseComponentSourcedIdPairs, SDKValidationError>;
/** @internal */
export declare const CreateCourseComponentResponse$inboundSchema: z.ZodType<CreateCourseComponentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateCourseComponentResponse$Outbound = {
    sourcedIdPairs: CreateCourseComponentSourcedIdPairs$Outbound;
};
/** @internal */
export declare const CreateCourseComponentResponse$outboundSchema: z.ZodType<CreateCourseComponentResponse$Outbound, z.ZodTypeDef, CreateCourseComponentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateCourseComponentResponse$ {
    /** @deprecated use `CreateCourseComponentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateCourseComponentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateCourseComponentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateCourseComponentResponse$Outbound, z.ZodTypeDef, CreateCourseComponentResponse>;
    /** @deprecated use `CreateCourseComponentResponse$Outbound` instead. */
    type Outbound = CreateCourseComponentResponse$Outbound;
}
export declare function createCourseComponentResponseToJSON(createCourseComponentResponse: CreateCourseComponentResponse): string;
export declare function createCourseComponentResponseFromJSON(jsonString: string): SafeParseResult<CreateCourseComponentResponse, SDKValidationError>;
//# sourceMappingURL=createcoursecomponent.d.ts.map