import type { BlockContent } from "../../core/content"; import type { AuthoringFeedbackOverall } from "../../core/feedback/authoring/types"; import type { FeedbackPlan } from "../../core/feedback/plan"; import type { AnyInteraction } from "../../core/interactions"; /** * Collects all widget references with their types from every location within an assessment item structure. * This includes the body, nested feedback object, interactions (prompts, choices, gap texts), and any nested inline content. * * @param item - An object conforming to the structure of an AssessmentItemInput. * @returns A Map from widgetId to widgetType. Throws if the same widgetId has conflicting types. */ export declare function collectWidgetRefs(item: { body: BlockContent | null; feedback: { FEEDBACK__OVERALL: AuthoringFeedbackOverall; } | null; interactions: Record> | null; }): Map; /** * Collects just the widget IDs from an assessment item. */ export declare function collectAllWidgetSlotIds(item: { body: BlockContent | null; feedback: { FEEDBACK__OVERALL: AuthoringFeedbackOverall; } | null; interactions: Record> | null; }): string[]; //# sourceMappingURL=collector.d.ts.map