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 AttachComponentRequestBody = {
    /**
     * The Sourced ID of the Course Component to attach to the Lesson Plan
     */
    componentId: string | null;
    /**
     * The order of the Lesson Plan Item
     */
    order: number;
    /**
     * The Sourced ID of the parent Lesson Plan Item. It must also reference a Component.
     */
    parentId?: string | null | undefined;
    /**
     * Whether the Lesson Plan Item is skipped for this user
     */
    skipped?: boolean | null | undefined;
};
export type AttachComponentRequest = {
    /**
     * Lesson plan ID
     */
    lessonPlanId: string;
    requestBody?: AttachComponentRequestBody | undefined;
};
export declare const AttachComponentType: {
    readonly Component: "component";
    readonly Resource: "resource";
};
export type AttachComponentType = ClosedEnum<typeof AttachComponentType>;
export type AttachComponentLessonPlanItem = {
    id?: string | undefined;
    lessonPlanId: string;
    type: AttachComponentType;
    componentId?: string | null | undefined;
    componentResourceId?: string | null | undefined;
    order: number;
    parentId?: string | null | undefined;
    skipped?: boolean | undefined;
};
/**
 * Component attached
 */
export type AttachComponentResponse = {
    lessonPlanItem: AttachComponentLessonPlanItem;
};
/** @internal */
export declare const AttachComponentRequestBody$inboundSchema: z.ZodType<AttachComponentRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type AttachComponentRequestBody$Outbound = {
    componentId: string | null;
    order: number;
    parentId?: string | null | undefined;
    skipped: boolean | null;
};
/** @internal */
export declare const AttachComponentRequestBody$outboundSchema: z.ZodType<AttachComponentRequestBody$Outbound, z.ZodTypeDef, AttachComponentRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AttachComponentRequestBody$ {
    /** @deprecated use `AttachComponentRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AttachComponentRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `AttachComponentRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AttachComponentRequestBody$Outbound, z.ZodTypeDef, AttachComponentRequestBody>;
    /** @deprecated use `AttachComponentRequestBody$Outbound` instead. */
    type Outbound = AttachComponentRequestBody$Outbound;
}
export declare function attachComponentRequestBodyToJSON(attachComponentRequestBody: AttachComponentRequestBody): string;
export declare function attachComponentRequestBodyFromJSON(jsonString: string): SafeParseResult<AttachComponentRequestBody, SDKValidationError>;
/** @internal */
export declare const AttachComponentRequest$inboundSchema: z.ZodType<AttachComponentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AttachComponentRequest$Outbound = {
    lessonPlanId: string;
    RequestBody?: AttachComponentRequestBody$Outbound | undefined;
};
/** @internal */
export declare const AttachComponentRequest$outboundSchema: z.ZodType<AttachComponentRequest$Outbound, z.ZodTypeDef, AttachComponentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AttachComponentRequest$ {
    /** @deprecated use `AttachComponentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AttachComponentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AttachComponentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AttachComponentRequest$Outbound, z.ZodTypeDef, AttachComponentRequest>;
    /** @deprecated use `AttachComponentRequest$Outbound` instead. */
    type Outbound = AttachComponentRequest$Outbound;
}
export declare function attachComponentRequestToJSON(attachComponentRequest: AttachComponentRequest): string;
export declare function attachComponentRequestFromJSON(jsonString: string): SafeParseResult<AttachComponentRequest, SDKValidationError>;
/** @internal */
export declare const AttachComponentType$inboundSchema: z.ZodNativeEnum<typeof AttachComponentType>;
/** @internal */
export declare const AttachComponentType$outboundSchema: z.ZodNativeEnum<typeof AttachComponentType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AttachComponentType$ {
    /** @deprecated use `AttachComponentType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Component: "component";
        readonly Resource: "resource";
    }>;
    /** @deprecated use `AttachComponentType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Component: "component";
        readonly Resource: "resource";
    }>;
}
/** @internal */
export declare const AttachComponentLessonPlanItem$inboundSchema: z.ZodType<AttachComponentLessonPlanItem, z.ZodTypeDef, unknown>;
/** @internal */
export type AttachComponentLessonPlanItem$Outbound = {
    id?: string | undefined;
    lessonPlanId: string;
    type: string;
    componentId?: string | null | undefined;
    componentResourceId?: string | null | undefined;
    order: number;
    parentId?: string | null | undefined;
    skipped: boolean;
};
/** @internal */
export declare const AttachComponentLessonPlanItem$outboundSchema: z.ZodType<AttachComponentLessonPlanItem$Outbound, z.ZodTypeDef, AttachComponentLessonPlanItem>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AttachComponentLessonPlanItem$ {
    /** @deprecated use `AttachComponentLessonPlanItem$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AttachComponentLessonPlanItem, z.ZodTypeDef, unknown>;
    /** @deprecated use `AttachComponentLessonPlanItem$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AttachComponentLessonPlanItem$Outbound, z.ZodTypeDef, AttachComponentLessonPlanItem>;
    /** @deprecated use `AttachComponentLessonPlanItem$Outbound` instead. */
    type Outbound = AttachComponentLessonPlanItem$Outbound;
}
export declare function attachComponentLessonPlanItemToJSON(attachComponentLessonPlanItem: AttachComponentLessonPlanItem): string;
export declare function attachComponentLessonPlanItemFromJSON(jsonString: string): SafeParseResult<AttachComponentLessonPlanItem, SDKValidationError>;
/** @internal */
export declare const AttachComponentResponse$inboundSchema: z.ZodType<AttachComponentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AttachComponentResponse$Outbound = {
    lessonPlanItem: AttachComponentLessonPlanItem$Outbound;
};
/** @internal */
export declare const AttachComponentResponse$outboundSchema: z.ZodType<AttachComponentResponse$Outbound, z.ZodTypeDef, AttachComponentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AttachComponentResponse$ {
    /** @deprecated use `AttachComponentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AttachComponentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AttachComponentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AttachComponentResponse$Outbound, z.ZodTypeDef, AttachComponentResponse>;
    /** @deprecated use `AttachComponentResponse$Outbound` instead. */
    type Outbound = AttachComponentResponse$Outbound;
}
export declare function attachComponentResponseToJSON(attachComponentResponse: AttachComponentResponse): string;
export declare function attachComponentResponseFromJSON(jsonString: string): SafeParseResult<AttachComponentResponse, SDKValidationError>;
//# sourceMappingURL=attachcomponent.d.ts.map