import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * Filter to allow filtering of only active courses
 */
export type QueryParamActive = boolean | string;
/**
 * LMS Courses Filter
 */
export type LmsListCoursesQueryParamFilter = {
    /**
     * Filter to allow filtering of only active courses
     */
    active?: boolean | string | null | undefined;
    /**
     * Filter to select courses by external_reference
     */
    externalReference?: string | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     */
    updatedAfter?: Date | null | undefined;
};
export type LmsListCoursesRequest = {
    /**
     * The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
     */
    fields?: string | null | undefined;
    /**
     * LMS Courses Filter
     */
    filter?: LmsListCoursesQueryParamFilter | null | undefined;
    /**
     * The unified cursor
     */
    next?: string | null | undefined;
    /**
     * The page number of the results to fetch
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    page?: string | null | undefined;
    /**
     * The number of results per page (default value is 25)
     */
    pageSize?: string | null | undefined;
    /**
     * Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
     */
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
     */
    raw?: boolean | null | undefined;
    /**
     * Use a string with a date to only select results updated after that given date
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    updatedAfter?: Date | null | undefined;
    /**
     * The account identifier
     */
    xAccountId: string;
};
export type LmsListCoursesResponse = {
    /**
     * HTTP response content type for this operation
     */
    contentType: string;
    /**
     * The list of courses was retrieved.
     */
    coursePaginated?: shared.CoursePaginated | undefined;
    headers: {
        [k: string]: Array<string>;
    };
    /**
     * HTTP response status code for this operation
     */
    statusCode: number;
    /**
     * Raw HTTP response; suitable for custom response parsing
     */
    rawResponse: Response;
};
/** @internal */
export type QueryParamActive$Outbound = boolean | string;
/** @internal */
export declare const QueryParamActive$outboundSchema: z.ZodType<QueryParamActive$Outbound, z.ZodTypeDef, QueryParamActive>;
export declare function queryParamActiveToJSON(queryParamActive: QueryParamActive): string;
/** @internal */
export type LmsListCoursesQueryParamFilter$Outbound = {
    active?: boolean | string | null | undefined;
    external_reference?: string | null | undefined;
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const LmsListCoursesQueryParamFilter$outboundSchema: z.ZodType<LmsListCoursesQueryParamFilter$Outbound, z.ZodTypeDef, LmsListCoursesQueryParamFilter>;
export declare function lmsListCoursesQueryParamFilterToJSON(lmsListCoursesQueryParamFilter: LmsListCoursesQueryParamFilter): string;
/** @internal */
export type LmsListCoursesRequest$Outbound = {
    fields?: string | null | undefined;
    filter?: LmsListCoursesQueryParamFilter$Outbound | null | undefined;
    next?: string | null | undefined;
    page?: string | null | undefined;
    page_size?: string | null | undefined;
    proxy?: {
        [k: string]: any;
    } | null | undefined;
    raw?: boolean | null | undefined;
    updated_after?: string | null | undefined;
    "x-account-id": string;
};
/** @internal */
export declare const LmsListCoursesRequest$outboundSchema: z.ZodType<LmsListCoursesRequest$Outbound, z.ZodTypeDef, LmsListCoursesRequest>;
export declare function lmsListCoursesRequestToJSON(lmsListCoursesRequest: LmsListCoursesRequest): string;
/** @internal */
export declare const LmsListCoursesResponse$inboundSchema: z.ZodType<LmsListCoursesResponse, z.ZodTypeDef, unknown>;
export declare function lmsListCoursesResponseFromJSON(jsonString: string): SafeParseResult<LmsListCoursesResponse, SDKValidationError>;
//# sourceMappingURL=lmslistcourses.d.ts.map