import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import * as shared from "../shared/index.js";
/**
 * LMS Courses Filter
 */
export type LmsListCoursesQueryParamFilter = {
    /**
     * 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?: string | 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?: string | 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 declare const LmsListCoursesQueryParamFilter$inboundSchema: z.ZodType<LmsListCoursesQueryParamFilter, z.ZodTypeDef, unknown>;
/** @internal */
export type LmsListCoursesQueryParamFilter$Outbound = {
    external_reference?: string | null | undefined;
    updated_after?: string | null | undefined;
};
/** @internal */
export declare const LmsListCoursesQueryParamFilter$outboundSchema: z.ZodType<LmsListCoursesQueryParamFilter$Outbound, z.ZodTypeDef, LmsListCoursesQueryParamFilter>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LmsListCoursesQueryParamFilter$ {
    /** @deprecated use `LmsListCoursesQueryParamFilter$inboundSchema` instead. */
    const inboundSchema: z.ZodType<LmsListCoursesQueryParamFilter, z.ZodTypeDef, unknown>;
    /** @deprecated use `LmsListCoursesQueryParamFilter$outboundSchema` instead. */
    const outboundSchema: z.ZodType<LmsListCoursesQueryParamFilter$Outbound, z.ZodTypeDef, LmsListCoursesQueryParamFilter>;
    /** @deprecated use `LmsListCoursesQueryParamFilter$Outbound` instead. */
    type Outbound = LmsListCoursesQueryParamFilter$Outbound;
}
export declare function lmsListCoursesQueryParamFilterToJSON(lmsListCoursesQueryParamFilter: LmsListCoursesQueryParamFilter): string;
export declare function lmsListCoursesQueryParamFilterFromJSON(jsonString: string): SafeParseResult<LmsListCoursesQueryParamFilter, SDKValidationError>;
/** @internal */
export declare const LmsListCoursesRequest$inboundSchema: z.ZodType<LmsListCoursesRequest, z.ZodTypeDef, unknown>;
/** @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>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LmsListCoursesRequest$ {
    /** @deprecated use `LmsListCoursesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<LmsListCoursesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `LmsListCoursesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<LmsListCoursesRequest$Outbound, z.ZodTypeDef, LmsListCoursesRequest>;
    /** @deprecated use `LmsListCoursesRequest$Outbound` instead. */
    type Outbound = LmsListCoursesRequest$Outbound;
}
export declare function lmsListCoursesRequestToJSON(lmsListCoursesRequest: LmsListCoursesRequest): string;
export declare function lmsListCoursesRequestFromJSON(jsonString: string): SafeParseResult<LmsListCoursesRequest, SDKValidationError>;
/** @internal */
export declare const LmsListCoursesResponse$inboundSchema: z.ZodType<LmsListCoursesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type LmsListCoursesResponse$Outbound = {
    ContentType: string;
    CoursePaginated?: shared.CoursePaginated$Outbound | undefined;
    Headers: {
        [k: string]: Array<string>;
    };
    StatusCode: number;
    RawResponse: never;
};
/** @internal */
export declare const LmsListCoursesResponse$outboundSchema: z.ZodType<LmsListCoursesResponse$Outbound, z.ZodTypeDef, LmsListCoursesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LmsListCoursesResponse$ {
    /** @deprecated use `LmsListCoursesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<LmsListCoursesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `LmsListCoursesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<LmsListCoursesResponse$Outbound, z.ZodTypeDef, LmsListCoursesResponse>;
    /** @deprecated use `LmsListCoursesResponse$Outbound` instead. */
    type Outbound = LmsListCoursesResponse$Outbound;
}
export declare function lmsListCoursesResponseToJSON(lmsListCoursesResponse: LmsListCoursesResponse): string;
export declare function lmsListCoursesResponseFromJSON(jsonString: string): SafeParseResult<LmsListCoursesResponse, SDKValidationError>;
//# sourceMappingURL=lmslistcourses.d.ts.map