export { a as parseAssessmentStimulusXml } from '../parser-CQBEBfpC.js'; import { k as DisplayItem, m as FormShape, V as ValidateResult } from '../schema-DSKqO7r8.js'; export { a as AssessmentStimulus } from '../schema-DSKqO7r8.js'; import 'zod'; declare function buildDisplayModelFromXml(qtiXml: string): { itemKey: string; item: DisplayItem; shape: FormShape; }; /** * Parses QTI XML and builds a display model for rendering. * This is a server action - call it from the server to keep XML processing secure. */ declare function buildDisplayModel(qtiXml: string): Promise<{ itemKey: string; item: DisplayItem; shape: FormShape; }>; declare function validateResponsesFromXml(qtiXml: string, responses: Record): ValidateResult; /** * Validates user responses against the QTI XML. * This is a server action - call it from the server to keep correct answers secure. */ declare function validateResponsesSecure(qtiXml: string, responses: Record): Promise; export { DisplayItem, FormShape, ValidateResult, buildDisplayModel, buildDisplayModelFromXml, validateResponsesFromXml, validateResponsesSecure };