import * as z from 'zod'; /** * Zod schema for LTI 1.3 Resource Link Request message configuration. * Represents the standard tool launch message type for accessing tool content. * This is the most common LTI message type for regular tool launches. */ declare const LTIResourceLinkMessageSchema: z.ZodObject<{ target_link_uri: z.ZodOptional; label: z.ZodOptional; icon_uri: z.ZodOptional; custom_parameters: z.ZodOptional>; placements: z.ZodOptional>; roles: z.ZodOptional>; type: z.ZodLiteral<"LtiResourceLinkRequest">; }, z.core.$loose>; /** * Zod schema for LTI 1.3 Deep Linking Request message configuration. * Represents the message type used when the tool supports content selection/authoring. * Allows instructors to select or create content that will be linked back to the LMS. * * @property type - Always 'LtiDeepLinkingRequest' for deep linking messages * @property target_link_uri - Optional URL where deep linking requests should be sent * @property label - Optional human-readable label for the deep linking option * @property placements - Optional array of where the tool can be placed in the LMS UI * @property supported_types - Optional array of content types the tool can create/select * @property supported_media_types - Optional array of MIME types the tool supports * @property roles - Optional array of LIS role URIs that can access deep linking * @property custom_parameters - Optional custom parameters for deep linking configuration */ declare const LTIDeepLinkingMessageSchema: z.ZodObject<{ target_link_uri: z.ZodOptional; label: z.ZodOptional; icon_uri: z.ZodOptional; custom_parameters: z.ZodOptional>; placements: z.ZodOptional>; roles: z.ZodOptional>; type: z.ZodLiteral<"LtiDeepLinkingRequest">; supported_types: z.ZodOptional>; supported_media_types: z.ZodOptional>; }, z.core.$loose>; /** * Discriminated union schema for all supported LTI 1.3 message types. * Used during dynamic registration to declare which message types the tool supports. * The platform uses this to determine what launch options to provide to users. */ export declare const LTIMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ target_link_uri: z.ZodOptional; label: z.ZodOptional; icon_uri: z.ZodOptional; custom_parameters: z.ZodOptional>; placements: z.ZodOptional>; roles: z.ZodOptional>; type: z.ZodLiteral<"LtiResourceLinkRequest">; }, z.core.$loose>, z.ZodObject<{ target_link_uri: z.ZodOptional; label: z.ZodOptional; icon_uri: z.ZodOptional; custom_parameters: z.ZodOptional>; placements: z.ZodOptional>; roles: z.ZodOptional>; type: z.ZodLiteral<"LtiDeepLinkingRequest">; supported_types: z.ZodOptional>; supported_media_types: z.ZodOptional>; }, z.core.$loose>], "type">; /** * Schema for validating arrays of LTI message configurations. * Used in tool registration payloads to declare multiple supported message types. */ export declare const LTIMessagesArraySchema: z.ZodArray; label: z.ZodOptional; icon_uri: z.ZodOptional; custom_parameters: z.ZodOptional>; placements: z.ZodOptional>; roles: z.ZodOptional>; type: z.ZodLiteral<"LtiResourceLinkRequest">; }, z.core.$loose>, z.ZodObject<{ target_link_uri: z.ZodOptional; label: z.ZodOptional; icon_uri: z.ZodOptional; custom_parameters: z.ZodOptional>; placements: z.ZodOptional>; roles: z.ZodOptional>; type: z.ZodLiteral<"LtiDeepLinkingRequest">; supported_types: z.ZodOptional>; supported_media_types: z.ZodOptional>; }, z.core.$loose>], "type">>; export type LTIMessage = z.infer; export type LTIResourceLinkMessage = z.infer; export type LTIDeepLinkingMessage = z.infer; export {}; //# sourceMappingURL=ltiMessages.schema.d.ts.map