export interface JsonSchema { $schema?: string; $id?: string; title?: string; description?: string; type: string; properties?: Record; required?: string[]; additionalProperties?: boolean | any; items?: any; definitions?: Record; enum?: string[]; minimum?: number; maximum?: number; minItems?: number; maxItems?: number; } /** * 根据文件类型获取对应的 JSON Schema * Schema 定义来自 @weapp-core/schematics,使用 Zod 维护单一数据源 */ export declare function getSchemaForType(type: 'App' | 'Page' | 'Component' | 'Plugin' | 'Sitemap' | 'Theme'): JsonSchema | null; /** * 为配置块生成 schema 注释 */ export declare function generateSchemaComment(type: 'App' | 'Page' | 'Component' | 'Plugin' | 'Sitemap' | 'Theme'): string;