import type { Role, Roles } from '../types'; import type { RoleAdapter } from './adapter'; export interface MySQLAdapterOptions { uri?: string; config?: any; table: string; columns?: { name?: string; role?: string; tenantId?: string; }; } export declare class MySQLRoleAdapter
implements RoleAdapter
{
private options;
private connection?;
private defaultTenant;
constructor(options: MySQLAdapterOptions);
private getConnection;
getRoles(tenantId?: string): Promise , tenantId?: string): Promise , tenantId?: string): Promise