import { z } from 'zod'; /** * Unist Point schema */ export declare const PointSchema: z.ZodObject<{ line: z.ZodNumber; column: z.ZodNumber; offset: z.ZodOptional; }, z.core.$strip>; /** * Unist Position schema */ export declare const PositionSchema: z.ZodObject<{ start: z.ZodObject<{ line: z.ZodNumber; column: z.ZodNumber; offset: z.ZodOptional; }, z.core.$strip>; end: z.ZodObject<{ line: z.ZodNumber; column: z.ZodNumber; offset: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; /** * Unist Data schema (extensible key-value store) */ export declare const DataSchema: z.ZodRecord; /** * Legacy transcription object schema — `primary` holds a value, additional * schemes are top-level keys. @deprecated — kept for read compatibility. */ export declare const LegacyTranscriptionObjectSchema: z.ZodObject<{ primary: z.ZodString; ipa: z.ZodOptional; }, z.core.$catchall>>; /** * Canonical transcription object schema — `{ schemes, primary? }` where * `primary` is a key into `schemes`. Strict-primary rule enforced via refine. */ export declare const CanonicalTranscriptionObjectSchema: z.ZodObject<{ schemes: z.ZodRecord; primary: z.ZodOptional; }, z.core.$strip>; /** * Transcription object schema — union of canonical and legacy shapes during * the transition window. Canonical is tried first so well-formed data is * validated against the strict shape. */ export declare const TranscriptionObjectSchema: z.ZodUnion; primary: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ primary: z.ZodString; ipa: z.ZodOptional; }, z.core.$catchall>>]>; /** * Transcription schema - simple string or object with multiple systems */ export declare const TranscriptionSchema: z.ZodUnion; primary: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ primary: z.ZodString; ipa: z.ZodOptional; }, z.core.$catchall>>]>]>; /** * BCP 47 language tag (basic validation). * Accepts codes like "en", "th", "ja", "en-US". */ export declare const Bcp47Schema: z.ZodString; /** * CEFR levels */ export declare const CEFRLevelSchema: z.ZodEnum<{ A1: "A1"; A2: "A2"; B1: "B1"; B2: "B2"; C1: "C1"; C2: "C2"; }>; /** * Difficulty levels for lessons and exercises */ export declare const DifficultyLevelSchema: z.ZodEnum<{ beginner: "beginner"; intermediate: "intermediate"; advanced: "advanced"; }>; /** @deprecated Use DifficultyLevelSchema */ export declare const GrammarDifficultySchema: z.ZodEnum<{ beginner: "beginner"; intermediate: "intermediate"; advanced: "advanced"; }>; /** * Progression rule — when a learner can proceed */ export declare const ProgressionRuleSchema: z.ZodEnum<{ Passed: "Passed"; Completed: "Completed"; CompletedAndPassed: "CompletedAndPassed"; NotApplicable: "NotApplicable"; }>; /** * Character types (expanded v0.3.0) * Core types for common writing systems, with string fallback for unlisted types */ export declare const CharacterTypeSchema: z.ZodUnion, z.ZodString]>; /** * Phonological rule types (v0.3.0) */ export declare const PhonologicalRuleTypeSchema: z.ZodUnion, z.ZodString]>; /** * Phonetic categories */ export declare const PhoneticCategorySchema: z.ZodEnum<{ stop: "stop"; fricative: "fricative"; affricate: "affricate"; nasal: "nasal"; liquid: "liquid"; approximant: "approximant"; trill: "trill"; }>; /** * Voicing types */ export declare const VoicingTypeSchema: z.ZodEnum<{ voiced: "voiced"; voiceless: "voiceless"; ejective: "ejective"; aspirated: "aspirated"; }>; /** * Exercise types */ export declare const ExerciseTypeSchema: z.ZodEnum<{ dialogue: "dialogue"; "fill-in-blank": "fill-in-blank"; "multiple-choice": "multiple-choice"; translation: "translation"; transformation: "transformation"; matching: "matching"; "true-false": "true-false"; "open-ended": "open-ended"; "pattern-practice": "pattern-practice"; }>; /** * Content formats */ export declare const ContentFormatSchema: z.ZodEnum<{ markdown: "markdown"; text: "text"; html: "html"; glost: "glost"; "glost-dialogue": "glost-dialogue"; }>; /** * Gender enum (for vocabulary and characters) */ export declare const GrammaticalGenderSchema: z.ZodEnum<{ masculine: "masculine"; feminine: "feminine"; neuter: "neuter"; }>; /** * Syllabus source info schema */ export declare const SyllabusSourceInfoSchema: z.ZodObject<{ title: z.ZodString; url: z.ZodOptional; pdfUrl: z.ZodOptional; authors: z.ZodOptional>; year: z.ZodOptional; publisher: z.ZodOptional; }, z.core.$strip>; /** * Learning objective schema */ export declare const LearningObjectiveSchema: z.ZodObject<{ id: z.ZodString; description: z.ZodString; masteryScore: z.ZodOptional; isPrimary: z.ZodOptional; skill: z.ZodOptional; references: z.ZodOptional>; }, z.core.$strip>; /** * Completion criteria schema */ export declare const CompletionCriteriaSchema: z.ZodObject<{ masteryScore: z.ZodOptional>; masteryPercentage: z.ZodOptional>; minMasteredCount: z.ZodOptional>; requireAllExercises: z.ZodOptional>; requireAllContent: z.ZodOptional>; }, z.core.$strip>; /** * Lesson metadata schema */ export declare const LessonMetadataSchema: z.ZodObject<{ pageNumber: z.ZodOptional>; sectionNumber: z.ZodOptional>; estimatedTime: z.ZodOptional>; prerequisites: z.ZodOptional>>; objectives: z.ZodOptional>>; learningObjectives: z.ZodOptional; isPrimary: z.ZodOptional; skill: z.ZodOptional; references: z.ZodOptional>; }, z.core.$strip>>>>; takeaways: z.ZodOptional>>; culturalNotes: z.ZodOptional>; notes: z.ZodOptional>; sourceFile: z.ZodOptional>; completionCriteria: z.ZodOptional>; masteryPercentage: z.ZodOptional>; minMasteredCount: z.ZodOptional>; requireAllExercises: z.ZodOptional>; requireAllContent: z.ZodOptional>; }, z.core.$strip>>>; progressionRule: z.ZodOptional>>; defaultMasteryScore: z.ZodOptional>; }, z.core.$strip>; /** * Character mnemonic schema */ export declare const CharacterMnemonicSchema: z.ZodObject<{ text: z.ZodString; imageUrl: z.ZodOptional; association: z.ZodOptional; }, z.core.$strip>; /** * Character transliteration schema */ export declare const CharacterTransliterationSchema: z.ZodObject<{ primary: z.ZodString; ipa: z.ZodOptional; national: z.ZodOptional; iso: z.ZodOptional; }, z.core.$catchall>>; /** * Character variant schema */ export declare const CharacterVariantSchema: z.ZodObject<{ name: z.ZodString; form: z.ZodString; }, z.core.$strip>; /** * Exercise item schema */ export declare const ExerciseItemSchema: z.ZodObject<{ question: z.ZodString; answer: z.ZodString; hint: z.ZodOptional; }, z.core.$strip>; export type ZodCEFRLevel = z.infer; export type ZodDifficultyLevel = z.infer; /** @deprecated Use ZodDifficultyLevel */ export type ZodGrammarDifficulty = ZodDifficultyLevel; export type ZodCharacterType = z.infer; export type ZodPhoneticCategory = z.infer; export type ZodVoicingType = z.infer; export type ZodExerciseType = z.infer; export type ZodContentFormat = z.infer; export type ZodPosition = z.infer; export type ZodData = z.infer; export type ZodSyllabusSourceInfo = z.infer; export type ZodLessonMetadata = z.infer; export type ZodCharacterMnemonic = z.infer; export type ZodCharacterTransliteration = z.infer; export type ZodExerciseItem = z.infer; export type ZodTranscription = z.infer; export type ZodTranscriptionObject = z.infer; export type ZodPhonologicalRuleType = z.infer; //# sourceMappingURL=base.d.ts.map