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 GetAllAcademicSessionsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllAcademicSessionsOrderBy = ClosedEnum<typeof GetAllAcademicSessionsOrderBy>;
export type GetAllAcademicSessionsRequest = {
    /**
     * 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?: GetAllAcademicSessionsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Success
 */
export type GetAllAcademicSessionsResponseBody = {
    academicSessions: Array<components.AcademicSession>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllAcademicSessionsResponse = {
    result: GetAllAcademicSessionsResponseBody;
};
/** @internal */
export declare const GetAllAcademicSessionsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllAcademicSessionsOrderBy>;
/** @internal */
export declare const GetAllAcademicSessionsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllAcademicSessionsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllAcademicSessionsOrderBy$ {
    /** @deprecated use `GetAllAcademicSessionsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllAcademicSessionsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllAcademicSessionsRequest$inboundSchema: z.ZodType<GetAllAcademicSessionsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllAcademicSessionsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllAcademicSessionsRequest$outboundSchema: z.ZodType<GetAllAcademicSessionsRequest$Outbound, z.ZodTypeDef, GetAllAcademicSessionsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllAcademicSessionsRequest$ {
    /** @deprecated use `GetAllAcademicSessionsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllAcademicSessionsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllAcademicSessionsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllAcademicSessionsRequest$Outbound, z.ZodTypeDef, GetAllAcademicSessionsRequest>;
    /** @deprecated use `GetAllAcademicSessionsRequest$Outbound` instead. */
    type Outbound = GetAllAcademicSessionsRequest$Outbound;
}
export declare function getAllAcademicSessionsRequestToJSON(getAllAcademicSessionsRequest: GetAllAcademicSessionsRequest): string;
export declare function getAllAcademicSessionsRequestFromJSON(jsonString: string): SafeParseResult<GetAllAcademicSessionsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllAcademicSessionsResponseBody$inboundSchema: z.ZodType<GetAllAcademicSessionsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllAcademicSessionsResponseBody$Outbound = {
    academicSessions: Array<components.AcademicSession$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllAcademicSessionsResponseBody$outboundSchema: z.ZodType<GetAllAcademicSessionsResponseBody$Outbound, z.ZodTypeDef, GetAllAcademicSessionsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllAcademicSessionsResponseBody$ {
    /** @deprecated use `GetAllAcademicSessionsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllAcademicSessionsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllAcademicSessionsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllAcademicSessionsResponseBody$Outbound, z.ZodTypeDef, GetAllAcademicSessionsResponseBody>;
    /** @deprecated use `GetAllAcademicSessionsResponseBody$Outbound` instead. */
    type Outbound = GetAllAcademicSessionsResponseBody$Outbound;
}
export declare function getAllAcademicSessionsResponseBodyToJSON(getAllAcademicSessionsResponseBody: GetAllAcademicSessionsResponseBody): string;
export declare function getAllAcademicSessionsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllAcademicSessionsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllAcademicSessionsResponse$inboundSchema: z.ZodType<GetAllAcademicSessionsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllAcademicSessionsResponse$Outbound = {
    Result: GetAllAcademicSessionsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllAcademicSessionsResponse$outboundSchema: z.ZodType<GetAllAcademicSessionsResponse$Outbound, z.ZodTypeDef, GetAllAcademicSessionsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllAcademicSessionsResponse$ {
    /** @deprecated use `GetAllAcademicSessionsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllAcademicSessionsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllAcademicSessionsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllAcademicSessionsResponse$Outbound, z.ZodTypeDef, GetAllAcademicSessionsResponse>;
    /** @deprecated use `GetAllAcademicSessionsResponse$Outbound` instead. */
    type Outbound = GetAllAcademicSessionsResponse$Outbound;
}
export declare function getAllAcademicSessionsResponseToJSON(getAllAcademicSessionsResponse: GetAllAcademicSessionsResponse): string;
export declare function getAllAcademicSessionsResponseFromJSON(jsonString: string): SafeParseResult<GetAllAcademicSessionsResponse, SDKValidationError>;
//# sourceMappingURL=getallacademicsessions.d.ts.map