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 GetGradingPeriodsForTermOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetGradingPeriodsForTermOrderBy = ClosedEnum<typeof GetGradingPeriodsForTermOrderBy>;
export type GetGradingPeriodsForTermRequest = {
    /**
     * The sourcedId of the term
     */
    termSourcedId: string;
    /**
     * 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?: GetGradingPeriodsForTermOrderBy | 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 grading periods for the term
 */
export type GetGradingPeriodsForTermResponseBody = {
    gradingPeriods: Array<components.AcademicSession>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetGradingPeriodsForTermResponse = {
    result: GetGradingPeriodsForTermResponseBody;
};
/** @internal */
export declare const GetGradingPeriodsForTermOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetGradingPeriodsForTermOrderBy>;
/** @internal */
export declare const GetGradingPeriodsForTermOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetGradingPeriodsForTermOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetGradingPeriodsForTermOrderBy$ {
    /** @deprecated use `GetGradingPeriodsForTermOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetGradingPeriodsForTermOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetGradingPeriodsForTermRequest$inboundSchema: z.ZodType<GetGradingPeriodsForTermRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetGradingPeriodsForTermRequest$Outbound = {
    termSourcedId: string;
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetGradingPeriodsForTermRequest$outboundSchema: z.ZodType<GetGradingPeriodsForTermRequest$Outbound, z.ZodTypeDef, GetGradingPeriodsForTermRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetGradingPeriodsForTermRequest$ {
    /** @deprecated use `GetGradingPeriodsForTermRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetGradingPeriodsForTermRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetGradingPeriodsForTermRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetGradingPeriodsForTermRequest$Outbound, z.ZodTypeDef, GetGradingPeriodsForTermRequest>;
    /** @deprecated use `GetGradingPeriodsForTermRequest$Outbound` instead. */
    type Outbound = GetGradingPeriodsForTermRequest$Outbound;
}
export declare function getGradingPeriodsForTermRequestToJSON(getGradingPeriodsForTermRequest: GetGradingPeriodsForTermRequest): string;
export declare function getGradingPeriodsForTermRequestFromJSON(jsonString: string): SafeParseResult<GetGradingPeriodsForTermRequest, SDKValidationError>;
/** @internal */
export declare const GetGradingPeriodsForTermResponseBody$inboundSchema: z.ZodType<GetGradingPeriodsForTermResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetGradingPeriodsForTermResponseBody$Outbound = {
    gradingPeriods: Array<components.AcademicSession$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetGradingPeriodsForTermResponseBody$outboundSchema: z.ZodType<GetGradingPeriodsForTermResponseBody$Outbound, z.ZodTypeDef, GetGradingPeriodsForTermResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetGradingPeriodsForTermResponseBody$ {
    /** @deprecated use `GetGradingPeriodsForTermResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetGradingPeriodsForTermResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetGradingPeriodsForTermResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetGradingPeriodsForTermResponseBody$Outbound, z.ZodTypeDef, GetGradingPeriodsForTermResponseBody>;
    /** @deprecated use `GetGradingPeriodsForTermResponseBody$Outbound` instead. */
    type Outbound = GetGradingPeriodsForTermResponseBody$Outbound;
}
export declare function getGradingPeriodsForTermResponseBodyToJSON(getGradingPeriodsForTermResponseBody: GetGradingPeriodsForTermResponseBody): string;
export declare function getGradingPeriodsForTermResponseBodyFromJSON(jsonString: string): SafeParseResult<GetGradingPeriodsForTermResponseBody, SDKValidationError>;
/** @internal */
export declare const GetGradingPeriodsForTermResponse$inboundSchema: z.ZodType<GetGradingPeriodsForTermResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetGradingPeriodsForTermResponse$Outbound = {
    Result: GetGradingPeriodsForTermResponseBody$Outbound;
};
/** @internal */
export declare const GetGradingPeriodsForTermResponse$outboundSchema: z.ZodType<GetGradingPeriodsForTermResponse$Outbound, z.ZodTypeDef, GetGradingPeriodsForTermResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetGradingPeriodsForTermResponse$ {
    /** @deprecated use `GetGradingPeriodsForTermResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetGradingPeriodsForTermResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetGradingPeriodsForTermResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetGradingPeriodsForTermResponse$Outbound, z.ZodTypeDef, GetGradingPeriodsForTermResponse>;
    /** @deprecated use `GetGradingPeriodsForTermResponse$Outbound` instead. */
    type Outbound = GetGradingPeriodsForTermResponse$Outbound;
}
export declare function getGradingPeriodsForTermResponseToJSON(getGradingPeriodsForTermResponse: GetGradingPeriodsForTermResponse): string;
export declare function getGradingPeriodsForTermResponseFromJSON(jsonString: string): SafeParseResult<GetGradingPeriodsForTermResponse, SDKValidationError>;
//# sourceMappingURL=getgradingperiodsforterm.d.ts.map