import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type CreateExternalPlacementTestRequest = (components.CreateExternalTestOutInput & {
    lessonType: "test-out";
}) | (components.CreateExternalPlacementInput & {
    lessonType: "placement";
});
export declare const CreateExternalPlacementTestLessonType: {
    readonly Powerpath100: "powerpath-100";
    readonly Quiz: "quiz";
    readonly TestOut: "test-out";
    readonly Placement: "placement";
};
export type CreateExternalPlacementTestLessonType = ClosedEnum<typeof CreateExternalPlacementTestLessonType>;
/**
 * Success
 */
export type CreateExternalPlacementTestResponse = {
    lessonType: CreateExternalPlacementTestLessonType;
    /**
     * The sourcedId of the created external test reference (ComponentResource)
     */
    lessonId: string;
    /**
     * The sourcedId of the component (unit) containing the test
     */
    courseComponentId: string;
    /**
     * The sourcedId of the resource representing the external test
     */
    resourceId: string;
    /**
     * The URL to the external test system
     */
    launchUrl?: string | undefined;
    /**
     * The tool provider id
     */
    toolProvider: string;
    /**
     * The ID of the test in the spreadsheet
     */
    vendorId: string;
    /**
     * The courseId to enroll the student in if they fail the placement test (optional)
     */
    courseIdOnFail?: string | null | undefined;
    /**
     * The grades for the resource
     */
    grades?: Array<number> | undefined;
};
/** @internal */
export declare const CreateExternalPlacementTestRequest$inboundSchema: z.ZodType<CreateExternalPlacementTestRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateExternalPlacementTestRequest$Outbound = (components.CreateExternalTestOutInput$Outbound & {
    lessonType: "test-out";
}) | (components.CreateExternalPlacementInput$Outbound & {
    lessonType: "placement";
});
/** @internal */
export declare const CreateExternalPlacementTestRequest$outboundSchema: z.ZodType<CreateExternalPlacementTestRequest$Outbound, z.ZodTypeDef, CreateExternalPlacementTestRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateExternalPlacementTestRequest$ {
    /** @deprecated use `CreateExternalPlacementTestRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateExternalPlacementTestRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateExternalPlacementTestRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateExternalPlacementTestRequest$Outbound, z.ZodTypeDef, CreateExternalPlacementTestRequest>;
    /** @deprecated use `CreateExternalPlacementTestRequest$Outbound` instead. */
    type Outbound = CreateExternalPlacementTestRequest$Outbound;
}
export declare function createExternalPlacementTestRequestToJSON(createExternalPlacementTestRequest: CreateExternalPlacementTestRequest): string;
export declare function createExternalPlacementTestRequestFromJSON(jsonString: string): SafeParseResult<CreateExternalPlacementTestRequest, SDKValidationError>;
/** @internal */
export declare const CreateExternalPlacementTestLessonType$inboundSchema: z.ZodNativeEnum<typeof CreateExternalPlacementTestLessonType>;
/** @internal */
export declare const CreateExternalPlacementTestLessonType$outboundSchema: z.ZodNativeEnum<typeof CreateExternalPlacementTestLessonType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateExternalPlacementTestLessonType$ {
    /** @deprecated use `CreateExternalPlacementTestLessonType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Powerpath100: "powerpath-100";
        readonly Quiz: "quiz";
        readonly TestOut: "test-out";
        readonly Placement: "placement";
    }>;
    /** @deprecated use `CreateExternalPlacementTestLessonType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Powerpath100: "powerpath-100";
        readonly Quiz: "quiz";
        readonly TestOut: "test-out";
        readonly Placement: "placement";
    }>;
}
/** @internal */
export declare const CreateExternalPlacementTestResponse$inboundSchema: z.ZodType<CreateExternalPlacementTestResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateExternalPlacementTestResponse$Outbound = {
    lessonType: string;
    lessonId: string;
    courseComponentId: string;
    resourceId: string;
    launchUrl?: string | undefined;
    toolProvider: string;
    vendorId: string;
    courseIdOnFail?: string | null | undefined;
    grades?: Array<number> | undefined;
};
/** @internal */
export declare const CreateExternalPlacementTestResponse$outboundSchema: z.ZodType<CreateExternalPlacementTestResponse$Outbound, z.ZodTypeDef, CreateExternalPlacementTestResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateExternalPlacementTestResponse$ {
    /** @deprecated use `CreateExternalPlacementTestResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateExternalPlacementTestResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateExternalPlacementTestResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateExternalPlacementTestResponse$Outbound, z.ZodTypeDef, CreateExternalPlacementTestResponse>;
    /** @deprecated use `CreateExternalPlacementTestResponse$Outbound` instead. */
    type Outbound = CreateExternalPlacementTestResponse$Outbound;
}
export declare function createExternalPlacementTestResponseToJSON(createExternalPlacementTestResponse: CreateExternalPlacementTestResponse): string;
export declare function createExternalPlacementTestResponseFromJSON(jsonString: string): SafeParseResult<CreateExternalPlacementTestResponse, SDKValidationError>;
//# sourceMappingURL=createexternalplacementtest.d.ts.map