import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Category, Category$Outbound } from "./category.js";
import { LanguageEnum, LanguageEnum$Outbound } from "./languageenum.js";
import { Skills, Skills$Outbound } from "./skills.js";
export type Course = {
    /**
     * Whether the course is active and available for users.
     */
    active?: boolean | 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?: string | 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;
    /**
     * 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?: string | null | undefined;
    /**
     * The redirect URL of the course.
     */
    url?: string | null | undefined;
};
/** @internal */
export declare const Course$inboundSchema: z.ZodType<Course, z.ZodTypeDef, unknown>;
/** @internal */
export type Course$Outbound = {
    active?: boolean | 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;
    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