import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Course, Course$Outbound } from "./course.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type CoursePaginated = {
    data: Array<Course>;
    next?: string | null | undefined;
    /**
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    nextPage?: string | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const CoursePaginated$inboundSchema: z.ZodType<CoursePaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type CoursePaginated$Outbound = {
    data: Array<Course$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const CoursePaginated$outboundSchema: z.ZodType<CoursePaginated$Outbound, z.ZodTypeDef, CoursePaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CoursePaginated$ {
    /** @deprecated use `CoursePaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CoursePaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `CoursePaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CoursePaginated$Outbound, z.ZodTypeDef, CoursePaginated>;
    /** @deprecated use `CoursePaginated$Outbound` instead. */
    type Outbound = CoursePaginated$Outbound;
}
export declare function coursePaginatedToJSON(coursePaginated: CoursePaginated): string;
export declare function coursePaginatedFromJSON(jsonString: string): SafeParseResult<CoursePaginated, SDKValidationError>;
//# sourceMappingURL=coursepaginated.d.ts.map