import type { Role, Roles } from '../types'; import type { RoleAdapter } from './adapter'; export interface MongoAdapterOptions { uri: string; dbName: string; collection: string; columns?: { name?: string; role?: string; tenantId?: string; }; } export declare class MongoRoleAdapter
implements RoleAdapter
{
private options;
private client;
private db?;
private collectionName;
private defaultTenant;
constructor(options: MongoAdapterOptions);
private getCollection;
getRoles(tenantId?: string): Promise , tenantId?: string): Promise , tenantId?: string): Promise