/** * Surna eLearning MCP - Code Execution API * * This module provides TypeScript wrappers for efficient agent interaction * with MCP tools. Instead of loading all tool definitions upfront, agents * can write code that imports only what they need. * * Benefits: * - Progressive disclosure: Load only needed tool definitions * - Context efficiency: Process data in code before returning to model * - Composability: Use familiar programming patterns (loops, conditionals) * - Type safety: Full TypeScript autocomplete and validation * * @example * ```typescript * import * as surna from '@surna/mcp-elearning/api'; * * // Create a complete course efficiently * const course = await surna.courses.createCourse({ * title: 'Fire Safety Training', * defaultLanguage: 'en' * }); * * const lessons = await surna.lessons.batchCreateLessons(course.id, [ * { title: 'Introduction' }, * { title: 'Emergency Procedures' }, * { title: 'Equipment Usage' } * ]); * * await surna.blocks.batchCreateBlocks(lessons[0].id, [ * { type: 'heading', text: 'Welcome to Fire Safety' }, * { type: 'paragraph', text: 'This course covers essential...' } * ]); * ``` */ export * as courses from './courses.js'; export * as lessons from './lessons.js'; export * as blocks from './blocks.js'; export * as assets from './assets.js'; export type { Course, CourseCreate, LanguageVersion, } from './courses.js'; export type { Lesson, LessonCreate, } from './lessons.js'; export type { Block, BlockCreate, BlockType, } from './blocks.js'; export type { Asset, SavedVoice, NarrationGenerationResult, } from './assets.js'; //# sourceMappingURL=index.d.ts.map