import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The order to sort the response by
 */
export declare const GetAllEnrollmentsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllEnrollmentsOrderBy = ClosedEnum<typeof GetAllEnrollmentsOrderBy>;
export type GetAllEnrollmentsRequest = {
    /**
     * Comma-separated list of fields to include in the response
     */
    fields?: string | undefined;
    /**
     * The maximum number of items to return in the paginated response
     */
    limit?: number | undefined;
    /**
     * The number of items to skip in the paginated response
     */
    offset?: number | undefined;
    /**
     * The field to sort the response by
     */
    sort?: string | undefined;
    /**
     * The order to sort the response by
     */
    orderBy?: GetAllEnrollmentsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Successful response
 */
export type GetAllEnrollmentsResponseBody = {
    enrollments: Array<components.Enrollment>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllEnrollmentsResponse = {
    result: GetAllEnrollmentsResponseBody;
};
/** @internal */
export declare const GetAllEnrollmentsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllEnrollmentsOrderBy>;
/** @internal */
export declare const GetAllEnrollmentsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllEnrollmentsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllEnrollmentsOrderBy$ {
    /** @deprecated use `GetAllEnrollmentsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllEnrollmentsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllEnrollmentsRequest$inboundSchema: z.ZodType<GetAllEnrollmentsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllEnrollmentsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllEnrollmentsRequest$outboundSchema: z.ZodType<GetAllEnrollmentsRequest$Outbound, z.ZodTypeDef, GetAllEnrollmentsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllEnrollmentsRequest$ {
    /** @deprecated use `GetAllEnrollmentsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllEnrollmentsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllEnrollmentsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllEnrollmentsRequest$Outbound, z.ZodTypeDef, GetAllEnrollmentsRequest>;
    /** @deprecated use `GetAllEnrollmentsRequest$Outbound` instead. */
    type Outbound = GetAllEnrollmentsRequest$Outbound;
}
export declare function getAllEnrollmentsRequestToJSON(getAllEnrollmentsRequest: GetAllEnrollmentsRequest): string;
export declare function getAllEnrollmentsRequestFromJSON(jsonString: string): SafeParseResult<GetAllEnrollmentsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllEnrollmentsResponseBody$inboundSchema: z.ZodType<GetAllEnrollmentsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllEnrollmentsResponseBody$Outbound = {
    enrollments: Array<components.Enrollment$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllEnrollmentsResponseBody$outboundSchema: z.ZodType<GetAllEnrollmentsResponseBody$Outbound, z.ZodTypeDef, GetAllEnrollmentsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllEnrollmentsResponseBody$ {
    /** @deprecated use `GetAllEnrollmentsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllEnrollmentsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllEnrollmentsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllEnrollmentsResponseBody$Outbound, z.ZodTypeDef, GetAllEnrollmentsResponseBody>;
    /** @deprecated use `GetAllEnrollmentsResponseBody$Outbound` instead. */
    type Outbound = GetAllEnrollmentsResponseBody$Outbound;
}
export declare function getAllEnrollmentsResponseBodyToJSON(getAllEnrollmentsResponseBody: GetAllEnrollmentsResponseBody): string;
export declare function getAllEnrollmentsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllEnrollmentsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllEnrollmentsResponse$inboundSchema: z.ZodType<GetAllEnrollmentsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllEnrollmentsResponse$Outbound = {
    Result: GetAllEnrollmentsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllEnrollmentsResponse$outboundSchema: z.ZodType<GetAllEnrollmentsResponse$Outbound, z.ZodTypeDef, GetAllEnrollmentsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllEnrollmentsResponse$ {
    /** @deprecated use `GetAllEnrollmentsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllEnrollmentsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllEnrollmentsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllEnrollmentsResponse$Outbound, z.ZodTypeDef, GetAllEnrollmentsResponse>;
    /** @deprecated use `GetAllEnrollmentsResponse$Outbound` instead. */
    type Outbound = GetAllEnrollmentsResponse$Outbound;
}
export declare function getAllEnrollmentsResponseToJSON(getAllEnrollmentsResponse: GetAllEnrollmentsResponse): string;
export declare function getAllEnrollmentsResponseFromJSON(jsonString: string): SafeParseResult<GetAllEnrollmentsResponse, SDKValidationError>;
//# sourceMappingURL=getallenrollments.d.ts.map