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 MakeExternalTestAssignmentRequest = {
    /**
     * The sourcedId of the student
     */
    student: string;
    /**
     * The sourcedId of the lesson (ComponentResource)
     */
    lesson: string;
    /**
     * The name of the application to use for authenticating on the external tool
     */
    applicationName?: string | undefined;
};
export declare const ToolProvider: {
    readonly Edulastic: "edulastic";
};
export type ToolProvider = ClosedEnum<typeof ToolProvider>;
export declare const MakeExternalTestAssignmentLessonType: {
    readonly TestOut: "test-out";
    readonly Placement: "placement";
};
export type MakeExternalTestAssignmentLessonType = ClosedEnum<typeof MakeExternalTestAssignmentLessonType>;
/**
 * The credentials for accessing the assigned test on Edulastic
 */
export type MakeExternalTestAssignmentCredentials = {
    email: string;
    password: string;
};
/**
 * Success
 */
export type MakeExternalTestAssignmentResponse = {
    toolProvider: ToolProvider;
    lessonType: MakeExternalTestAssignmentLessonType;
    /**
     * The attempt number
     */
    attempt: number;
    /**
     * The credentials for accessing the assigned test on Edulastic
     */
    credentials?: MakeExternalTestAssignmentCredentials | undefined;
    /**
     * The id of the assignment on Edulastic for results retrieval
     */
    assignmentId?: string | undefined;
    /**
     * The id of the class on Edulastic for results retrieval
     */
    classId?: string | undefined;
    /**
     * The URL of the test on Edulastic
     */
    testUrl?: string | undefined;
    /**
     * The id of the test on Edulastic
     */
    testId?: string | undefined;
};
/** @internal */
export declare const MakeExternalTestAssignmentRequest$inboundSchema: z.ZodType<MakeExternalTestAssignmentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type MakeExternalTestAssignmentRequest$Outbound = {
    student: string;
    lesson: string;
    applicationName?: string | undefined;
};
/** @internal */
export declare const MakeExternalTestAssignmentRequest$outboundSchema: z.ZodType<MakeExternalTestAssignmentRequest$Outbound, z.ZodTypeDef, MakeExternalTestAssignmentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MakeExternalTestAssignmentRequest$ {
    /** @deprecated use `MakeExternalTestAssignmentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MakeExternalTestAssignmentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `MakeExternalTestAssignmentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MakeExternalTestAssignmentRequest$Outbound, z.ZodTypeDef, MakeExternalTestAssignmentRequest>;
    /** @deprecated use `MakeExternalTestAssignmentRequest$Outbound` instead. */
    type Outbound = MakeExternalTestAssignmentRequest$Outbound;
}
export declare function makeExternalTestAssignmentRequestToJSON(makeExternalTestAssignmentRequest: MakeExternalTestAssignmentRequest): string;
export declare function makeExternalTestAssignmentRequestFromJSON(jsonString: string): SafeParseResult<MakeExternalTestAssignmentRequest, SDKValidationError>;
/** @internal */
export declare const ToolProvider$inboundSchema: z.ZodNativeEnum<typeof ToolProvider>;
/** @internal */
export declare const ToolProvider$outboundSchema: z.ZodNativeEnum<typeof ToolProvider>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ToolProvider$ {
    /** @deprecated use `ToolProvider$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Edulastic: "edulastic";
    }>;
    /** @deprecated use `ToolProvider$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Edulastic: "edulastic";
    }>;
}
/** @internal */
export declare const MakeExternalTestAssignmentLessonType$inboundSchema: z.ZodNativeEnum<typeof MakeExternalTestAssignmentLessonType>;
/** @internal */
export declare const MakeExternalTestAssignmentLessonType$outboundSchema: z.ZodNativeEnum<typeof MakeExternalTestAssignmentLessonType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MakeExternalTestAssignmentLessonType$ {
    /** @deprecated use `MakeExternalTestAssignmentLessonType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly TestOut: "test-out";
        readonly Placement: "placement";
    }>;
    /** @deprecated use `MakeExternalTestAssignmentLessonType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly TestOut: "test-out";
        readonly Placement: "placement";
    }>;
}
/** @internal */
export declare const MakeExternalTestAssignmentCredentials$inboundSchema: z.ZodType<MakeExternalTestAssignmentCredentials, z.ZodTypeDef, unknown>;
/** @internal */
export type MakeExternalTestAssignmentCredentials$Outbound = {
    email: string;
    password: string;
};
/** @internal */
export declare const MakeExternalTestAssignmentCredentials$outboundSchema: z.ZodType<MakeExternalTestAssignmentCredentials$Outbound, z.ZodTypeDef, MakeExternalTestAssignmentCredentials>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MakeExternalTestAssignmentCredentials$ {
    /** @deprecated use `MakeExternalTestAssignmentCredentials$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MakeExternalTestAssignmentCredentials, z.ZodTypeDef, unknown>;
    /** @deprecated use `MakeExternalTestAssignmentCredentials$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MakeExternalTestAssignmentCredentials$Outbound, z.ZodTypeDef, MakeExternalTestAssignmentCredentials>;
    /** @deprecated use `MakeExternalTestAssignmentCredentials$Outbound` instead. */
    type Outbound = MakeExternalTestAssignmentCredentials$Outbound;
}
export declare function makeExternalTestAssignmentCredentialsToJSON(makeExternalTestAssignmentCredentials: MakeExternalTestAssignmentCredentials): string;
export declare function makeExternalTestAssignmentCredentialsFromJSON(jsonString: string): SafeParseResult<MakeExternalTestAssignmentCredentials, SDKValidationError>;
/** @internal */
export declare const MakeExternalTestAssignmentResponse$inboundSchema: z.ZodType<MakeExternalTestAssignmentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type MakeExternalTestAssignmentResponse$Outbound = {
    toolProvider: string;
    lessonType: string;
    attempt: number;
    credentials?: MakeExternalTestAssignmentCredentials$Outbound | undefined;
    assignmentId?: string | undefined;
    classId?: string | undefined;
    testUrl?: string | undefined;
    testId?: string | undefined;
};
/** @internal */
export declare const MakeExternalTestAssignmentResponse$outboundSchema: z.ZodType<MakeExternalTestAssignmentResponse$Outbound, z.ZodTypeDef, MakeExternalTestAssignmentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace MakeExternalTestAssignmentResponse$ {
    /** @deprecated use `MakeExternalTestAssignmentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<MakeExternalTestAssignmentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `MakeExternalTestAssignmentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<MakeExternalTestAssignmentResponse$Outbound, z.ZodTypeDef, MakeExternalTestAssignmentResponse>;
    /** @deprecated use `MakeExternalTestAssignmentResponse$Outbound` instead. */
    type Outbound = MakeExternalTestAssignmentResponse$Outbound;
}
export declare function makeExternalTestAssignmentResponseToJSON(makeExternalTestAssignmentResponse: MakeExternalTestAssignmentResponse): string;
export declare function makeExternalTestAssignmentResponseFromJSON(jsonString: string): SafeParseResult<MakeExternalTestAssignmentResponse, SDKValidationError>;
//# sourceMappingURL=makeexternaltestassignment.d.ts.map