import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { AuthorModel, AuthorModel$Outbound } from "./authormodel.js";
import { Category, Category$Outbound } from "./category.js";
import { LanguageEnum, LanguageEnum$Outbound } from "./languageenum.js";
import { Skills, Skills$Outbound } from "./skills.js";
export declare enum Course2 {
    True = "true",
    False = "false"
}
/**
 * Whether the course is active and available for users.
 */
export type CourseActive = boolean | Course2;
export type Course = {
    /**
     * Whether the course is active and available for users.
     */
    active?: boolean | Course2 | null | undefined;
    /**
     * The authors of the course
     */
    authors?: Array<AuthorModel> | null | undefined;
    /**
     * The categories associated with this course
     */
    categories?: Array<Category> | null | undefined;
    /**
     * The child ID/IDs associated with this course
     */
    contentIds?: Array<string> | null | undefined;
    /**
     * The URL of the thumbnail image associated with the course.
     */
    coverUrl?: string | null | undefined;
    /**
     * The date on which the course was created.
     */
    createdAt?: Date | null | undefined;
    /**
     * The description of the course
     */
    description?: string | null | undefined;
    /**
     * The duration of the course following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string
     */
    duration?: string | null | undefined;
    /**
     * The external ID associated with this course
     */
    externalReference?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The languages associated with this course
     */
    languages?: Array<LanguageEnum> | null | undefined;
    /**
     * The name of the course provider
     */
    provider?: string | null | undefined;
    /**
     * Provider's unique identifier of the child content IDs associated with this course
     */
    remoteContentIds?: Array<string> | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * The skills associated with this course
     */
    skills?: Array<Skills> | null | undefined;
    /**
     * The title of the course
     */
    title?: string | null | undefined;
    /**
     * Custom Unified Fields configured in your StackOne project
     */
    unifiedCustomFields?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * The date on which the course was last updated.
     */
    updatedAt?: Date | null | undefined;
    /**
     * The redirect URL of the course.
     */
    url?: string | null | undefined;
};
/** @internal */
export declare const Course2$inboundSchema: z.ZodNativeEnum<typeof Course2>;
/** @internal */
export declare const Course2$outboundSchema: z.ZodNativeEnum<typeof Course2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Course2$ {
    /** @deprecated use `Course2$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<typeof Course2>;
    /** @deprecated use `Course2$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<typeof Course2>;
}
/** @internal */
export declare const CourseActive$inboundSchema: z.ZodType<CourseActive, z.ZodTypeDef, unknown>;
/** @internal */
export type CourseActive$Outbound = boolean | string;
/** @internal */
export declare const CourseActive$outboundSchema: z.ZodType<CourseActive$Outbound, z.ZodTypeDef, CourseActive>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CourseActive$ {
    /** @deprecated use `CourseActive$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CourseActive, z.ZodTypeDef, unknown>;
    /** @deprecated use `CourseActive$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CourseActive$Outbound, z.ZodTypeDef, CourseActive>;
    /** @deprecated use `CourseActive$Outbound` instead. */
    type Outbound = CourseActive$Outbound;
}
export declare function courseActiveToJSON(courseActive: CourseActive): string;
export declare function courseActiveFromJSON(jsonString: string): SafeParseResult<CourseActive, SDKValidationError>;
/** @internal */
export declare const Course$inboundSchema: z.ZodType<Course, z.ZodTypeDef, unknown>;
/** @internal */
export type Course$Outbound = {
    active?: boolean | string | null | undefined;
    authors?: Array<AuthorModel$Outbound> | null | undefined;
    categories?: Array<Category$Outbound> | null | undefined;
    content_ids?: Array<string> | null | undefined;
    cover_url?: string | null | undefined;
    created_at?: string | null | undefined;
    description?: string | null | undefined;
    duration?: string | null | undefined;
    external_reference?: string | null | undefined;
    id?: string | null | undefined;
    languages?: Array<LanguageEnum$Outbound> | null | undefined;
    provider?: string | null | undefined;
    remote_content_ids?: Array<string> | null | undefined;
    remote_id?: string | null | undefined;
    skills?: Array<Skills$Outbound> | null | undefined;
    title?: string | null | undefined;
    unified_custom_fields?: {
        [k: string]: any;
    } | null | undefined;
    updated_at?: string | null | undefined;
    url?: string | null | undefined;
};
/** @internal */
export declare const Course$outboundSchema: z.ZodType<Course$Outbound, z.ZodTypeDef, Course>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Course$ {
    /** @deprecated use `Course$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Course, z.ZodTypeDef, unknown>;
    /** @deprecated use `Course$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Course$Outbound, z.ZodTypeDef, Course>;
    /** @deprecated use `Course$Outbound` instead. */
    type Outbound = Course$Outbound;
}
export declare function courseToJSON(course: Course): string;
export declare function courseFromJSON(jsonString: string): SafeParseResult<Course, SDKValidationError>;
//# sourceMappingURL=course.d.ts.map