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 GetAllGradingPeriodsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllGradingPeriodsOrderBy = ClosedEnum<typeof GetAllGradingPeriodsOrderBy>;
export type GetAllGradingPeriodsRequest = {
    /**
     * 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?: GetAllGradingPeriodsOrderBy | 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 GetAllGradingPeriodsResponseBody = {
    gradingPeriods: Array<components.AcademicSession>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllGradingPeriodsResponse = {
    result: GetAllGradingPeriodsResponseBody;
};
/** @internal */
export declare const GetAllGradingPeriodsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllGradingPeriodsOrderBy>;
/** @internal */
export declare const GetAllGradingPeriodsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllGradingPeriodsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllGradingPeriodsOrderBy$ {
    /** @deprecated use `GetAllGradingPeriodsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllGradingPeriodsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllGradingPeriodsRequest$inboundSchema: z.ZodType<GetAllGradingPeriodsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllGradingPeriodsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllGradingPeriodsRequest$outboundSchema: z.ZodType<GetAllGradingPeriodsRequest$Outbound, z.ZodTypeDef, GetAllGradingPeriodsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllGradingPeriodsRequest$ {
    /** @deprecated use `GetAllGradingPeriodsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllGradingPeriodsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllGradingPeriodsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllGradingPeriodsRequest$Outbound, z.ZodTypeDef, GetAllGradingPeriodsRequest>;
    /** @deprecated use `GetAllGradingPeriodsRequest$Outbound` instead. */
    type Outbound = GetAllGradingPeriodsRequest$Outbound;
}
export declare function getAllGradingPeriodsRequestToJSON(getAllGradingPeriodsRequest: GetAllGradingPeriodsRequest): string;
export declare function getAllGradingPeriodsRequestFromJSON(jsonString: string): SafeParseResult<GetAllGradingPeriodsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllGradingPeriodsResponseBody$inboundSchema: z.ZodType<GetAllGradingPeriodsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllGradingPeriodsResponseBody$Outbound = {
    gradingPeriods: Array<components.AcademicSession$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllGradingPeriodsResponseBody$outboundSchema: z.ZodType<GetAllGradingPeriodsResponseBody$Outbound, z.ZodTypeDef, GetAllGradingPeriodsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllGradingPeriodsResponseBody$ {
    /** @deprecated use `GetAllGradingPeriodsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllGradingPeriodsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllGradingPeriodsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllGradingPeriodsResponseBody$Outbound, z.ZodTypeDef, GetAllGradingPeriodsResponseBody>;
    /** @deprecated use `GetAllGradingPeriodsResponseBody$Outbound` instead. */
    type Outbound = GetAllGradingPeriodsResponseBody$Outbound;
}
export declare function getAllGradingPeriodsResponseBodyToJSON(getAllGradingPeriodsResponseBody: GetAllGradingPeriodsResponseBody): string;
export declare function getAllGradingPeriodsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllGradingPeriodsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllGradingPeriodsResponse$inboundSchema: z.ZodType<GetAllGradingPeriodsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllGradingPeriodsResponse$Outbound = {
    Result: GetAllGradingPeriodsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllGradingPeriodsResponse$outboundSchema: z.ZodType<GetAllGradingPeriodsResponse$Outbound, z.ZodTypeDef, GetAllGradingPeriodsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllGradingPeriodsResponse$ {
    /** @deprecated use `GetAllGradingPeriodsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllGradingPeriodsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllGradingPeriodsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllGradingPeriodsResponse$Outbound, z.ZodTypeDef, GetAllGradingPeriodsResponse>;
    /** @deprecated use `GetAllGradingPeriodsResponse$Outbound` instead. */
    type Outbound = GetAllGradingPeriodsResponse$Outbound;
}
export declare function getAllGradingPeriodsResponseToJSON(getAllGradingPeriodsResponse: GetAllGradingPeriodsResponse): string;
export declare function getAllGradingPeriodsResponseFromJSON(jsonString: string): SafeParseResult<GetAllGradingPeriodsResponse, SDKValidationError>;
//# sourceMappingURL=getallgradingperiods.d.ts.map