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 LessonPlanTreeComponentStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type LessonPlanTreeComponentStatus = ClosedEnum<typeof LessonPlanTreeComponentStatus>;
export declare const ResourceStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type ResourceStatus = ClosedEnum<typeof ResourceStatus>;
export declare const Role: {
    readonly Primary: "primary";
    readonly Secondary: "secondary";
};
export type Role = ClosedEnum<typeof Role>;
export declare const Importance: {
    readonly Primary: "primary";
    readonly Secondary: "secondary";
};
export type Importance = ClosedEnum<typeof Importance>;
export type MetadataDetails = {
    type: string;
};
/**
 * Represents a digital resource of some kind.
 */
export type Resource = {
    sourcedId: string;
    status: ResourceStatus;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    title: string;
    roles?: Array<Role> | undefined;
    importance?: Importance | undefined;
    vendorResourceId: string;
    vendorId?: string | null | undefined;
    applicationId?: string | null | undefined;
    metadataDetails: MetadataDetails;
};
export type LessonPlanTreeComponentComponentResource = {
    tenantId: string | null;
    clientAppId: string | null;
    /**
     * The ID of the lesson plan item
     */
    id: string;
    sortOrder?: number | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    courseComponentSourcedId: string;
    resource: Resource;
};
export type LessonPlanTreeComponent = {
    /**
     * The ID of the lesson plan item
     */
    id: string;
    /**
     * The Sourced ID of the component
     */
    sourcedId: string;
    status: LessonPlanTreeComponentStatus;
    title: string;
    sortOrder?: number | undefined;
    unlockDate?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    prerequisites?: Array<string> | undefined;
    prerequisiteCriteria?: string | undefined;
    componentResources?: Array<LessonPlanTreeComponentComponentResource> | undefined;
    subComponents?: Array<LessonPlanTreeComponent> | undefined;
};
/** @internal */
export declare const LessonPlanTreeComponentStatus$inboundSchema: z.ZodNativeEnum<typeof LessonPlanTreeComponentStatus>;
/** @internal */
export declare const LessonPlanTreeComponentStatus$outboundSchema: z.ZodNativeEnum<typeof LessonPlanTreeComponentStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LessonPlanTreeComponentStatus$ {
    /** @deprecated use `LessonPlanTreeComponentStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `LessonPlanTreeComponentStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const ResourceStatus$inboundSchema: z.ZodNativeEnum<typeof ResourceStatus>;
/** @internal */
export declare const ResourceStatus$outboundSchema: z.ZodNativeEnum<typeof ResourceStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResourceStatus$ {
    /** @deprecated use `ResourceStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `ResourceStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
/** @internal */
export declare const Role$outboundSchema: z.ZodNativeEnum<typeof Role>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Role$ {
    /** @deprecated use `Role$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
    /** @deprecated use `Role$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
}
/** @internal */
export declare const Importance$inboundSchema: z.ZodNativeEnum<typeof Importance>;
/** @internal */
export declare const Importance$outboundSchema: z.ZodNativeEnum<typeof Importance>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Importance$ {
    /** @deprecated use `Importance$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
    /** @deprecated use `Importance$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
}
/** @internal */
export declare const MetadataDetails$inboundSchema: z.ZodType<MetadataDetails, z.ZodTypeDef, unknown>;
/** @internal */
export type MetadataDetails$Outbound = {
    type: string;
};
/** @internal */
export declare const MetadataDetails$outboundSchema: z.ZodType<MetadataDetails$Outbound, z.ZodTypeDef, MetadataDetails>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MetadataDetails$ {
    /** @deprecated use `MetadataDetails$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MetadataDetails, z.ZodTypeDef, unknown>;
    /** @deprecated use `MetadataDetails$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MetadataDetails$Outbound, z.ZodTypeDef, MetadataDetails>;
    /** @deprecated use `MetadataDetails$Outbound` instead. */
    type Outbound = MetadataDetails$Outbound;
}
export declare function metadataDetailsToJSON(metadataDetails: MetadataDetails): string;
export declare function metadataDetailsFromJSON(jsonString: string): SafeParseResult<MetadataDetails, SDKValidationError>;
/** @internal */
export declare const Resource$inboundSchema: z.ZodType<Resource, z.ZodTypeDef, unknown>;
/** @internal */
export type Resource$Outbound = {
    sourcedId: string;
    status: string;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    title: string;
    roles?: Array<string> | undefined;
    importance?: string | undefined;
    vendorResourceId: string;
    vendorId?: string | null | undefined;
    applicationId?: string | null | undefined;
    metadataDetails: MetadataDetails$Outbound;
};
/** @internal */
export declare const Resource$outboundSchema: z.ZodType<Resource$Outbound, z.ZodTypeDef, Resource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Resource$ {
    /** @deprecated use `Resource$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Resource, z.ZodTypeDef, unknown>;
    /** @deprecated use `Resource$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Resource$Outbound, z.ZodTypeDef, Resource>;
    /** @deprecated use `Resource$Outbound` instead. */
    type Outbound = Resource$Outbound;
}
export declare function resourceToJSON(resource: Resource): string;
export declare function resourceFromJSON(jsonString: string): SafeParseResult<Resource, SDKValidationError>;
/** @internal */
export declare const LessonPlanTreeComponentComponentResource$inboundSchema: z.ZodType<LessonPlanTreeComponentComponentResource, z.ZodTypeDef, unknown>;
/** @internal */
export type LessonPlanTreeComponentComponentResource$Outbound = {
    tenantId: string | null;
    clientAppId: string | null;
    id: string;
    sortOrder?: number | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    courseComponentSourcedId: string;
    resource: Resource$Outbound;
};
/** @internal */
export declare const LessonPlanTreeComponentComponentResource$outboundSchema: z.ZodType<LessonPlanTreeComponentComponentResource$Outbound, z.ZodTypeDef, LessonPlanTreeComponentComponentResource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LessonPlanTreeComponentComponentResource$ {
    /** @deprecated use `LessonPlanTreeComponentComponentResource$inboundSchema` instead. */
    const inboundSchema: z.ZodType<LessonPlanTreeComponentComponentResource, z.ZodTypeDef, unknown>;
    /** @deprecated use `LessonPlanTreeComponentComponentResource$outboundSchema` instead. */
    const outboundSchema: z.ZodType<LessonPlanTreeComponentComponentResource$Outbound, z.ZodTypeDef, LessonPlanTreeComponentComponentResource>;
    /** @deprecated use `LessonPlanTreeComponentComponentResource$Outbound` instead. */
    type Outbound = LessonPlanTreeComponentComponentResource$Outbound;
}
export declare function lessonPlanTreeComponentComponentResourceToJSON(lessonPlanTreeComponentComponentResource: LessonPlanTreeComponentComponentResource): string;
export declare function lessonPlanTreeComponentComponentResourceFromJSON(jsonString: string): SafeParseResult<LessonPlanTreeComponentComponentResource, SDKValidationError>;
/** @internal */
export declare const LessonPlanTreeComponent$inboundSchema: z.ZodType<LessonPlanTreeComponent, z.ZodTypeDef, unknown>;
/** @internal */
export type LessonPlanTreeComponent$Outbound = {
    id: string;
    sourcedId: string;
    status: string;
    title: string;
    sortOrder?: number | undefined;
    unlockDate?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | undefined;
    prerequisites?: Array<string> | undefined;
    prerequisiteCriteria?: string | undefined;
    componentResources?: Array<LessonPlanTreeComponentComponentResource$Outbound> | undefined;
    subComponents?: Array<LessonPlanTreeComponent$Outbound> | undefined;
};
/** @internal */
export declare const LessonPlanTreeComponent$outboundSchema: z.ZodType<LessonPlanTreeComponent$Outbound, z.ZodTypeDef, LessonPlanTreeComponent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LessonPlanTreeComponent$ {
    /** @deprecated use `LessonPlanTreeComponent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<LessonPlanTreeComponent, z.ZodTypeDef, unknown>;
    /** @deprecated use `LessonPlanTreeComponent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<LessonPlanTreeComponent$Outbound, z.ZodTypeDef, LessonPlanTreeComponent>;
    /** @deprecated use `LessonPlanTreeComponent$Outbound` instead. */
    type Outbound = LessonPlanTreeComponent$Outbound;
}
export declare function lessonPlanTreeComponentToJSON(lessonPlanTreeComponent: LessonPlanTreeComponent): string;
export declare function lessonPlanTreeComponentFromJSON(jsonString: string): SafeParseResult<LessonPlanTreeComponent, SDKValidationError>;
//# sourceMappingURL=lessonplantreecomponent.d.ts.map