import * as z from 'zod'; /** * Schema for LTI Assignment and Grade Services (AGS) Line Item. * Represents a gradebook column/assignment according to LTI AGS v2.0 specification. * * @see https://www.imsglobal.org/spec/lti-ags/v2p0/#line-item-service */ export declare const LineItemSchema: z.ZodObject<{ id: z.ZodURL; scoreMaximum: z.ZodNumber; label: z.ZodString; resourceId: z.ZodOptional; resourceLinkId: z.ZodOptional; tag: z.ZodOptional; startDateTime: z.ZodOptional; endDateTime: z.ZodOptional; gradesReleased: z.ZodOptional; }, z.core.$loose>; /** * Schema for creating a new LTI Assignment and Grade Services (AGS) Line Item. * Omits the 'id' field since it's generated by the platform upon creation. * * @see https://www.imsglobal.org/spec/lti-ags/v2p0/#line-item-service */ export declare const CreateLineItemSchema: z.ZodObject<{ scoreMaximum: z.ZodNumber; label: z.ZodString; resourceId: z.ZodOptional; tag: z.ZodOptional; startDateTime: z.ZodOptional; endDateTime: z.ZodOptional; resourceLinkId: z.ZodOptional; gradesReleased: z.ZodOptional; }, z.core.$loose>; /** * Schema for updating an existing LTI Assignment and Grade Services (AGS) Line Item. * Omits 'id' and 'resourceLinkId' fields as they are immutable per LTI AGS specification. * Tools MUST NOT change these values during updates. * * @see https://www.imsglobal.org/spec/lti-ags/v2p0/#line-item-service */ export declare const UpdateLineItemSchema: z.ZodObject<{ scoreMaximum: z.ZodNumber; label: z.ZodString; resourceId: z.ZodOptional; tag: z.ZodOptional; startDateTime: z.ZodOptional; endDateTime: z.ZodOptional; gradesReleased: z.ZodOptional; }, z.core.$loose>; /** * Schema for an array of line items returned from the line items service. */ export declare const LineItemsSchema: z.ZodArray; resourceLinkId: z.ZodOptional; tag: z.ZodOptional; startDateTime: z.ZodOptional; endDateTime: z.ZodOptional; gradesReleased: z.ZodOptional; }, z.core.$loose>>; /** * Type representing a validated line item for LTI AGS. * Represents a gradebook column or assignment. */ export type LineItem = z.infer; /** * Type representing an array of line items. */ export type LineItems = z.infer; /** * Type representing data required to create a new line item for LTI AGS. * Contains all LineItem fields except the platform-generated 'id'. */ export type CreateLineItem = z.infer; /** * Type representing data for updating an existing line item for LTI AGS. * Contains all LineItem fields except immutable 'id' and 'resourceLinkId'. */ export type UpdateLineItem = z.infer; //# sourceMappingURL=lineItem.schema.d.ts.map