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 GetAllTermsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllTermsOrderBy = ClosedEnum<typeof GetAllTermsOrderBy>;
export type GetAllTermsRequest = {
    /**
     * 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?: GetAllTermsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Successful response containing a collection of terms
 */
export type GetAllTermsResponseBody = {
    terms: Array<components.AcademicSession>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllTermsResponse = {
    result: GetAllTermsResponseBody;
};
/** @internal */
export declare const GetAllTermsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllTermsOrderBy>;
/** @internal */
export declare const GetAllTermsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllTermsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllTermsOrderBy$ {
    /** @deprecated use `GetAllTermsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllTermsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllTermsRequest$inboundSchema: z.ZodType<GetAllTermsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllTermsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllTermsRequest$outboundSchema: z.ZodType<GetAllTermsRequest$Outbound, z.ZodTypeDef, GetAllTermsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllTermsRequest$ {
    /** @deprecated use `GetAllTermsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllTermsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllTermsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllTermsRequest$Outbound, z.ZodTypeDef, GetAllTermsRequest>;
    /** @deprecated use `GetAllTermsRequest$Outbound` instead. */
    type Outbound = GetAllTermsRequest$Outbound;
}
export declare function getAllTermsRequestToJSON(getAllTermsRequest: GetAllTermsRequest): string;
export declare function getAllTermsRequestFromJSON(jsonString: string): SafeParseResult<GetAllTermsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllTermsResponseBody$inboundSchema: z.ZodType<GetAllTermsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllTermsResponseBody$Outbound = {
    terms: Array<components.AcademicSession$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllTermsResponseBody$outboundSchema: z.ZodType<GetAllTermsResponseBody$Outbound, z.ZodTypeDef, GetAllTermsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllTermsResponseBody$ {
    /** @deprecated use `GetAllTermsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllTermsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllTermsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllTermsResponseBody$Outbound, z.ZodTypeDef, GetAllTermsResponseBody>;
    /** @deprecated use `GetAllTermsResponseBody$Outbound` instead. */
    type Outbound = GetAllTermsResponseBody$Outbound;
}
export declare function getAllTermsResponseBodyToJSON(getAllTermsResponseBody: GetAllTermsResponseBody): string;
export declare function getAllTermsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllTermsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllTermsResponse$inboundSchema: z.ZodType<GetAllTermsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllTermsResponse$Outbound = {
    Result: GetAllTermsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllTermsResponse$outboundSchema: z.ZodType<GetAllTermsResponse$Outbound, z.ZodTypeDef, GetAllTermsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllTermsResponse$ {
    /** @deprecated use `GetAllTermsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllTermsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllTermsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllTermsResponse$Outbound, z.ZodTypeDef, GetAllTermsResponse>;
    /** @deprecated use `GetAllTermsResponse$Outbound` instead. */
    type Outbound = GetAllTermsResponse$Outbound;
}
export declare function getAllTermsResponseToJSON(getAllTermsResponse: GetAllTermsResponse): string;
export declare function getAllTermsResponseFromJSON(jsonString: string): SafeParseResult<GetAllTermsResponse, SDKValidationError>;
//# sourceMappingURL=getallterms.d.ts.map