import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetTermRequest = {
    /**
     * The sourcedId of the term
     */
    sourcedId: string;
};
/**
 * Successful response with the term
 */
export type GetTermResponse = {
    /**
     * Represents an academic session.
     */
    term: components.AcademicSession;
};
/** @internal */
export declare const GetTermRequest$inboundSchema: z.ZodType<GetTermRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetTermRequest$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetTermRequest$outboundSchema: z.ZodType<GetTermRequest$Outbound, z.ZodTypeDef, GetTermRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetTermRequest$ {
    /** @deprecated use `GetTermRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetTermRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetTermRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetTermRequest$Outbound, z.ZodTypeDef, GetTermRequest>;
    /** @deprecated use `GetTermRequest$Outbound` instead. */
    type Outbound = GetTermRequest$Outbound;
}
export declare function getTermRequestToJSON(getTermRequest: GetTermRequest): string;
export declare function getTermRequestFromJSON(jsonString: string): SafeParseResult<GetTermRequest, SDKValidationError>;
/** @internal */
export declare const GetTermResponse$inboundSchema: z.ZodType<GetTermResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetTermResponse$Outbound = {
    term: components.AcademicSession$Outbound;
};
/** @internal */
export declare const GetTermResponse$outboundSchema: z.ZodType<GetTermResponse$Outbound, z.ZodTypeDef, GetTermResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetTermResponse$ {
    /** @deprecated use `GetTermResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetTermResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetTermResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetTermResponse$Outbound, z.ZodTypeDef, GetTermResponse>;
    /** @deprecated use `GetTermResponse$Outbound` instead. */
    type Outbound = GetTermResponse$Outbound;
}
export declare function getTermResponseToJSON(getTermResponse: GetTermResponse): string;
export declare function getTermResponseFromJSON(jsonString: string): SafeParseResult<GetTermResponse, SDKValidationError>;
//# sourceMappingURL=getterm.d.ts.map