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 type GetCourseComponentRequest = {
    /**
     * The sourcedId of the course component
     */
    sourcedId: string;
};
export declare const GetCourseComponentStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type GetCourseComponentStatus = ClosedEnum<typeof GetCourseComponentStatus>;
export type GetCourseComponentCourse = {
    sourcedId: string;
};
export type GetCourseComponentCourseComponentCourseComponent = {
    sourcedId: string;
};
export type GetCourseComponentParent = {
    sourcedId: string;
};
/**
 * Represents a component of a course.
 */
export type GetCourseComponentCourseComponent = {
    sourcedId?: string | undefined;
    status: GetCourseComponentStatus;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    course: GetCourseComponentCourse;
    courseComponent?: GetCourseComponentCourseComponentCourseComponent | null | undefined;
    parent?: GetCourseComponentParent | null | undefined;
    title: string;
    sortOrder: number;
    prerequisites?: Array<string> | null | undefined;
    prerequisiteCriteria?: string | null | undefined;
    /**
     * The date the component is unlocked for the student
     */
    unlockDate: string;
};
/**
 * Single Course Component
 */
export type GetCourseComponentResponse = {
    /**
     * Represents a component of a course.
     */
    courseComponent: GetCourseComponentCourseComponent;
};
/** @internal */
export declare const GetCourseComponentRequest$inboundSchema: z.ZodType<GetCourseComponentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetCourseComponentRequest$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetCourseComponentRequest$outboundSchema: z.ZodType<GetCourseComponentRequest$Outbound, z.ZodTypeDef, GetCourseComponentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentRequest$ {
    /** @deprecated use `GetCourseComponentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetCourseComponentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetCourseComponentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetCourseComponentRequest$Outbound, z.ZodTypeDef, GetCourseComponentRequest>;
    /** @deprecated use `GetCourseComponentRequest$Outbound` instead. */
    type Outbound = GetCourseComponentRequest$Outbound;
}
export declare function getCourseComponentRequestToJSON(getCourseComponentRequest: GetCourseComponentRequest): string;
export declare function getCourseComponentRequestFromJSON(jsonString: string): SafeParseResult<GetCourseComponentRequest, SDKValidationError>;
/** @internal */
export declare const GetCourseComponentStatus$inboundSchema: z.ZodNativeEnum<typeof GetCourseComponentStatus>;
/** @internal */
export declare const GetCourseComponentStatus$outboundSchema: z.ZodNativeEnum<typeof GetCourseComponentStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentStatus$ {
    /** @deprecated use `GetCourseComponentStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `GetCourseComponentStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const GetCourseComponentCourse$inboundSchema: z.ZodType<GetCourseComponentCourse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetCourseComponentCourse$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetCourseComponentCourse$outboundSchema: z.ZodType<GetCourseComponentCourse$Outbound, z.ZodTypeDef, GetCourseComponentCourse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentCourse$ {
    /** @deprecated use `GetCourseComponentCourse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetCourseComponentCourse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetCourseComponentCourse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetCourseComponentCourse$Outbound, z.ZodTypeDef, GetCourseComponentCourse>;
    /** @deprecated use `GetCourseComponentCourse$Outbound` instead. */
    type Outbound = GetCourseComponentCourse$Outbound;
}
export declare function getCourseComponentCourseToJSON(getCourseComponentCourse: GetCourseComponentCourse): string;
export declare function getCourseComponentCourseFromJSON(jsonString: string): SafeParseResult<GetCourseComponentCourse, SDKValidationError>;
/** @internal */
export declare const GetCourseComponentCourseComponentCourseComponent$inboundSchema: z.ZodType<GetCourseComponentCourseComponentCourseComponent, z.ZodTypeDef, unknown>;
/** @internal */
export type GetCourseComponentCourseComponentCourseComponent$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetCourseComponentCourseComponentCourseComponent$outboundSchema: z.ZodType<GetCourseComponentCourseComponentCourseComponent$Outbound, z.ZodTypeDef, GetCourseComponentCourseComponentCourseComponent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentCourseComponentCourseComponent$ {
    /** @deprecated use `GetCourseComponentCourseComponentCourseComponent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetCourseComponentCourseComponentCourseComponent, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetCourseComponentCourseComponentCourseComponent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetCourseComponentCourseComponentCourseComponent$Outbound, z.ZodTypeDef, GetCourseComponentCourseComponentCourseComponent>;
    /** @deprecated use `GetCourseComponentCourseComponentCourseComponent$Outbound` instead. */
    type Outbound = GetCourseComponentCourseComponentCourseComponent$Outbound;
}
export declare function getCourseComponentCourseComponentCourseComponentToJSON(getCourseComponentCourseComponentCourseComponent: GetCourseComponentCourseComponentCourseComponent): string;
export declare function getCourseComponentCourseComponentCourseComponentFromJSON(jsonString: string): SafeParseResult<GetCourseComponentCourseComponentCourseComponent, SDKValidationError>;
/** @internal */
export declare const GetCourseComponentParent$inboundSchema: z.ZodType<GetCourseComponentParent, z.ZodTypeDef, unknown>;
/** @internal */
export type GetCourseComponentParent$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetCourseComponentParent$outboundSchema: z.ZodType<GetCourseComponentParent$Outbound, z.ZodTypeDef, GetCourseComponentParent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentParent$ {
    /** @deprecated use `GetCourseComponentParent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetCourseComponentParent, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetCourseComponentParent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetCourseComponentParent$Outbound, z.ZodTypeDef, GetCourseComponentParent>;
    /** @deprecated use `GetCourseComponentParent$Outbound` instead. */
    type Outbound = GetCourseComponentParent$Outbound;
}
export declare function getCourseComponentParentToJSON(getCourseComponentParent: GetCourseComponentParent): string;
export declare function getCourseComponentParentFromJSON(jsonString: string): SafeParseResult<GetCourseComponentParent, SDKValidationError>;
/** @internal */
export declare const GetCourseComponentCourseComponent$inboundSchema: z.ZodType<GetCourseComponentCourseComponent, z.ZodTypeDef, unknown>;
/** @internal */
export type GetCourseComponentCourseComponent$Outbound = {
    sourcedId?: string | undefined;
    status: string;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    course: GetCourseComponentCourse$Outbound;
    courseComponent?: GetCourseComponentCourseComponentCourseComponent$Outbound | null | undefined;
    parent?: GetCourseComponentParent$Outbound | null | undefined;
    title: string;
    sortOrder: number;
    prerequisites?: Array<string> | null | undefined;
    prerequisiteCriteria?: string | null | undefined;
    unlockDate: string;
};
/** @internal */
export declare const GetCourseComponentCourseComponent$outboundSchema: z.ZodType<GetCourseComponentCourseComponent$Outbound, z.ZodTypeDef, GetCourseComponentCourseComponent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentCourseComponent$ {
    /** @deprecated use `GetCourseComponentCourseComponent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetCourseComponentCourseComponent, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetCourseComponentCourseComponent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetCourseComponentCourseComponent$Outbound, z.ZodTypeDef, GetCourseComponentCourseComponent>;
    /** @deprecated use `GetCourseComponentCourseComponent$Outbound` instead. */
    type Outbound = GetCourseComponentCourseComponent$Outbound;
}
export declare function getCourseComponentCourseComponentToJSON(getCourseComponentCourseComponent: GetCourseComponentCourseComponent): string;
export declare function getCourseComponentCourseComponentFromJSON(jsonString: string): SafeParseResult<GetCourseComponentCourseComponent, SDKValidationError>;
/** @internal */
export declare const GetCourseComponentResponse$inboundSchema: z.ZodType<GetCourseComponentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetCourseComponentResponse$Outbound = {
    courseComponent: GetCourseComponentCourseComponent$Outbound;
};
/** @internal */
export declare const GetCourseComponentResponse$outboundSchema: z.ZodType<GetCourseComponentResponse$Outbound, z.ZodTypeDef, GetCourseComponentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetCourseComponentResponse$ {
    /** @deprecated use `GetCourseComponentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetCourseComponentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetCourseComponentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetCourseComponentResponse$Outbound, z.ZodTypeDef, GetCourseComponentResponse>;
    /** @deprecated use `GetCourseComponentResponse$Outbound` instead. */
    type Outbound = GetCourseComponentResponse$Outbound;
}
export declare function getCourseComponentResponseToJSON(getCourseComponentResponse: GetCourseComponentResponse): string;
export declare function getCourseComponentResponseFromJSON(jsonString: string): SafeParseResult<GetCourseComponentResponse, SDKValidationError>;
//# sourceMappingURL=getcoursecomponent.d.ts.map