import type { EntitySchema } from '@mostajs/orm'; /** * Load schemas from schemas.json file */ export declare function loadSchemasFromJson(filePath: string): EntitySchema[]; /** * Scan a directory for *.schema.ts files and extract EntitySchema objects. * Parses TypeScript files by extracting the object literal between { and } * after the EntitySchema type annotation. */ export declare function scanSchemaDir(dir: string): EntitySchema[]; /** * Scan multiple directories (comma-separated paths) */ export declare function scanSchemaDirs(paths: string): EntitySchema[]; /** * Generate (or update) schemas.json from scanned schemas */ export declare function generateSchemasJson(schemas: EntitySchema[], outputPath?: string): string; /** * Parse schemas from uploaded ZIP buffer containing .schema.ts files */ export declare function parseSchemasFromZip(buffer: Buffer): EntitySchema[]; /** * Get schemas config status */ export declare function getSchemasConfig(): { schemasJsonExists: boolean; schemasJsonPath: string; schemasPath: string; schemaCount: number; schemas: { name: string; collection: string; fieldsCount: number; relationsCount: number; }[]; };