import { SchemaDefinition, Model } from 'mongoose'; /** * Creates a Mongoose model with RLS auto-scoping. * The RLS global plugin auto-adds owner_user_id and scopes all queries. * * Usage: * const Task = createModel('Task', { * title: { type: String, required: true }, * status: { type: String, default: 'pending' }, * }); */ export declare function createModel(name: string, schemaDefinition: SchemaDefinition, options?: Record): Model; //# sourceMappingURL=base.d.ts.map