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 GetResultsForLineItemForClassOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetResultsForLineItemForClassOrderBy = ClosedEnum<typeof GetResultsForLineItemForClassOrderBy>;
export type GetResultsForLineItemForClassRequest = {
    /**
     * The sourcedId of the class
     */
    classSourcedId: string;
    /**
     * The sourcedId of the line item
     */
    lineItemSourcedId: 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?: GetResultsForLineItemForClassOrderBy | 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 results for the specified line item in the class
 */
export type GetResultsForLineItemForClassResponseBody = {
    results: Array<components.Result>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetResultsForLineItemForClassResponse = {
    result: GetResultsForLineItemForClassResponseBody;
};
/** @internal */
export declare const GetResultsForLineItemForClassOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetResultsForLineItemForClassOrderBy>;
/** @internal */
export declare const GetResultsForLineItemForClassOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetResultsForLineItemForClassOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResultsForLineItemForClassOrderBy$ {
    /** @deprecated use `GetResultsForLineItemForClassOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetResultsForLineItemForClassOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetResultsForLineItemForClassRequest$inboundSchema: z.ZodType<GetResultsForLineItemForClassRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResultsForLineItemForClassRequest$Outbound = {
    classSourcedId: string;
    lineItemSourcedId: string;
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetResultsForLineItemForClassRequest$outboundSchema: z.ZodType<GetResultsForLineItemForClassRequest$Outbound, z.ZodTypeDef, GetResultsForLineItemForClassRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResultsForLineItemForClassRequest$ {
    /** @deprecated use `GetResultsForLineItemForClassRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResultsForLineItemForClassRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResultsForLineItemForClassRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResultsForLineItemForClassRequest$Outbound, z.ZodTypeDef, GetResultsForLineItemForClassRequest>;
    /** @deprecated use `GetResultsForLineItemForClassRequest$Outbound` instead. */
    type Outbound = GetResultsForLineItemForClassRequest$Outbound;
}
export declare function getResultsForLineItemForClassRequestToJSON(getResultsForLineItemForClassRequest: GetResultsForLineItemForClassRequest): string;
export declare function getResultsForLineItemForClassRequestFromJSON(jsonString: string): SafeParseResult<GetResultsForLineItemForClassRequest, SDKValidationError>;
/** @internal */
export declare const GetResultsForLineItemForClassResponseBody$inboundSchema: z.ZodType<GetResultsForLineItemForClassResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResultsForLineItemForClassResponseBody$Outbound = {
    results: Array<components.Result$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetResultsForLineItemForClassResponseBody$outboundSchema: z.ZodType<GetResultsForLineItemForClassResponseBody$Outbound, z.ZodTypeDef, GetResultsForLineItemForClassResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResultsForLineItemForClassResponseBody$ {
    /** @deprecated use `GetResultsForLineItemForClassResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResultsForLineItemForClassResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResultsForLineItemForClassResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResultsForLineItemForClassResponseBody$Outbound, z.ZodTypeDef, GetResultsForLineItemForClassResponseBody>;
    /** @deprecated use `GetResultsForLineItemForClassResponseBody$Outbound` instead. */
    type Outbound = GetResultsForLineItemForClassResponseBody$Outbound;
}
export declare function getResultsForLineItemForClassResponseBodyToJSON(getResultsForLineItemForClassResponseBody: GetResultsForLineItemForClassResponseBody): string;
export declare function getResultsForLineItemForClassResponseBodyFromJSON(jsonString: string): SafeParseResult<GetResultsForLineItemForClassResponseBody, SDKValidationError>;
/** @internal */
export declare const GetResultsForLineItemForClassResponse$inboundSchema: z.ZodType<GetResultsForLineItemForClassResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResultsForLineItemForClassResponse$Outbound = {
    Result: GetResultsForLineItemForClassResponseBody$Outbound;
};
/** @internal */
export declare const GetResultsForLineItemForClassResponse$outboundSchema: z.ZodType<GetResultsForLineItemForClassResponse$Outbound, z.ZodTypeDef, GetResultsForLineItemForClassResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResultsForLineItemForClassResponse$ {
    /** @deprecated use `GetResultsForLineItemForClassResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResultsForLineItemForClassResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResultsForLineItemForClassResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResultsForLineItemForClassResponse$Outbound, z.ZodTypeDef, GetResultsForLineItemForClassResponse>;
    /** @deprecated use `GetResultsForLineItemForClassResponse$Outbound` instead. */
    type Outbound = GetResultsForLineItemForClassResponse$Outbound;
}
export declare function getResultsForLineItemForClassResponseToJSON(getResultsForLineItemForClassResponse: GetResultsForLineItemForClassResponse): string;
export declare function getResultsForLineItemForClassResponseFromJSON(jsonString: string): SafeParseResult<GetResultsForLineItemForClassResponse, SDKValidationError>;
//# sourceMappingURL=getresultsforlineitemforclass.d.ts.map