export declare class AstSchemaEditor { private project; private collectionsDir; constructor(collectionsDir: string); /** * Sanitize collectionId to prevent path traversal attacks. * Only allows alphanumeric characters, underscores, and hyphens. */ private sanitizeCollectionId; /** * Resolve a file path and ensure it falls within the collectionsDir. */ private safePath; private getCollectionFile; private getCollectionObject; private convertJsonToAstString; saveProperty(collectionId: string, propertyKey: string, propertyConfig: Record): Promise; deleteProperty(collectionId: string, propertyKey: string): Promise; saveCollection(collectionId: string, collectionData: Record): Promise; deleteCollection(collectionId: string): Promise; }