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 GetComponentResourceRequest = {
    /**
     * The sourcedId of the component resource
     */
    sourcedId: string;
};
export declare const GetComponentResourceStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type GetComponentResourceStatus = ClosedEnum<typeof GetComponentResourceStatus>;
export type GetComponentResourceCourseComponent = {
    sourcedId: string;
};
export type GetComponentResourceResource = {
    sourcedId: string;
};
/**
 * Represents a resource associated with a course component.
 */
export type GetComponentResourceComponentResource = {
    sourcedId: string;
    status: GetComponentResourceStatus;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    courseComponent: GetComponentResourceCourseComponent;
    resource: GetComponentResourceResource;
    title: string;
    sortOrder?: number | undefined;
};
/**
 * Single Component Resource
 */
export type GetComponentResourceResponse = {
    /**
     * Represents a resource associated with a course component.
     */
    componentResource: GetComponentResourceComponentResource;
};
/** @internal */
export declare const GetComponentResourceRequest$inboundSchema: z.ZodType<GetComponentResourceRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetComponentResourceRequest$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetComponentResourceRequest$outboundSchema: z.ZodType<GetComponentResourceRequest$Outbound, z.ZodTypeDef, GetComponentResourceRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetComponentResourceRequest$ {
    /** @deprecated use `GetComponentResourceRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetComponentResourceRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetComponentResourceRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetComponentResourceRequest$Outbound, z.ZodTypeDef, GetComponentResourceRequest>;
    /** @deprecated use `GetComponentResourceRequest$Outbound` instead. */
    type Outbound = GetComponentResourceRequest$Outbound;
}
export declare function getComponentResourceRequestToJSON(getComponentResourceRequest: GetComponentResourceRequest): string;
export declare function getComponentResourceRequestFromJSON(jsonString: string): SafeParseResult<GetComponentResourceRequest, SDKValidationError>;
/** @internal */
export declare const GetComponentResourceStatus$inboundSchema: z.ZodNativeEnum<typeof GetComponentResourceStatus>;
/** @internal */
export declare const GetComponentResourceStatus$outboundSchema: z.ZodNativeEnum<typeof GetComponentResourceStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetComponentResourceStatus$ {
    /** @deprecated use `GetComponentResourceStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `GetComponentResourceStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const GetComponentResourceCourseComponent$inboundSchema: z.ZodType<GetComponentResourceCourseComponent, z.ZodTypeDef, unknown>;
/** @internal */
export type GetComponentResourceCourseComponent$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetComponentResourceCourseComponent$outboundSchema: z.ZodType<GetComponentResourceCourseComponent$Outbound, z.ZodTypeDef, GetComponentResourceCourseComponent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetComponentResourceCourseComponent$ {
    /** @deprecated use `GetComponentResourceCourseComponent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetComponentResourceCourseComponent, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetComponentResourceCourseComponent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetComponentResourceCourseComponent$Outbound, z.ZodTypeDef, GetComponentResourceCourseComponent>;
    /** @deprecated use `GetComponentResourceCourseComponent$Outbound` instead. */
    type Outbound = GetComponentResourceCourseComponent$Outbound;
}
export declare function getComponentResourceCourseComponentToJSON(getComponentResourceCourseComponent: GetComponentResourceCourseComponent): string;
export declare function getComponentResourceCourseComponentFromJSON(jsonString: string): SafeParseResult<GetComponentResourceCourseComponent, SDKValidationError>;
/** @internal */
export declare const GetComponentResourceResource$inboundSchema: z.ZodType<GetComponentResourceResource, z.ZodTypeDef, unknown>;
/** @internal */
export type GetComponentResourceResource$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetComponentResourceResource$outboundSchema: z.ZodType<GetComponentResourceResource$Outbound, z.ZodTypeDef, GetComponentResourceResource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetComponentResourceResource$ {
    /** @deprecated use `GetComponentResourceResource$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetComponentResourceResource, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetComponentResourceResource$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetComponentResourceResource$Outbound, z.ZodTypeDef, GetComponentResourceResource>;
    /** @deprecated use `GetComponentResourceResource$Outbound` instead. */
    type Outbound = GetComponentResourceResource$Outbound;
}
export declare function getComponentResourceResourceToJSON(getComponentResourceResource: GetComponentResourceResource): string;
export declare function getComponentResourceResourceFromJSON(jsonString: string): SafeParseResult<GetComponentResourceResource, SDKValidationError>;
/** @internal */
export declare const GetComponentResourceComponentResource$inboundSchema: z.ZodType<GetComponentResourceComponentResource, z.ZodTypeDef, unknown>;
/** @internal */
export type GetComponentResourceComponentResource$Outbound = {
    sourcedId: string;
    status: string;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    courseComponent: GetComponentResourceCourseComponent$Outbound;
    resource: GetComponentResourceResource$Outbound;
    title: string;
    sortOrder: number;
};
/** @internal */
export declare const GetComponentResourceComponentResource$outboundSchema: z.ZodType<GetComponentResourceComponentResource$Outbound, z.ZodTypeDef, GetComponentResourceComponentResource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetComponentResourceComponentResource$ {
    /** @deprecated use `GetComponentResourceComponentResource$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetComponentResourceComponentResource, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetComponentResourceComponentResource$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetComponentResourceComponentResource$Outbound, z.ZodTypeDef, GetComponentResourceComponentResource>;
    /** @deprecated use `GetComponentResourceComponentResource$Outbound` instead. */
    type Outbound = GetComponentResourceComponentResource$Outbound;
}
export declare function getComponentResourceComponentResourceToJSON(getComponentResourceComponentResource: GetComponentResourceComponentResource): string;
export declare function getComponentResourceComponentResourceFromJSON(jsonString: string): SafeParseResult<GetComponentResourceComponentResource, SDKValidationError>;
/** @internal */
export declare const GetComponentResourceResponse$inboundSchema: z.ZodType<GetComponentResourceResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetComponentResourceResponse$Outbound = {
    componentResource: GetComponentResourceComponentResource$Outbound;
};
/** @internal */
export declare const GetComponentResourceResponse$outboundSchema: z.ZodType<GetComponentResourceResponse$Outbound, z.ZodTypeDef, GetComponentResourceResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetComponentResourceResponse$ {
    /** @deprecated use `GetComponentResourceResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetComponentResourceResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetComponentResourceResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetComponentResourceResponse$Outbound, z.ZodTypeDef, GetComponentResourceResponse>;
    /** @deprecated use `GetComponentResourceResponse$Outbound` instead. */
    type Outbound = GetComponentResourceResponse$Outbound;
}
export declare function getComponentResourceResponseToJSON(getComponentResourceResponse: GetComponentResourceResponse): string;
export declare function getComponentResourceResponseFromJSON(jsonString: string): SafeParseResult<GetComponentResourceResponse, SDKValidationError>;
//# sourceMappingURL=getcomponentresource.d.ts.map