import type { Role, Roles } from '../types'; import type { RoleAdapter } from './adapter'; export interface PostgresAdapterOptions { table: string; columns?: { name?: string; role?: string; tenantId?: string; }; [key: string]: any; } export declare class PostgresRoleAdapter

implements RoleAdapter

{ private options; private client; private connected; private defaultTenant; constructor(options: PostgresAdapterOptions); private getClient; getRoles(tenantId?: string): Promise>; addRole(roleName: string, role: Role

, tenantId?: string): Promise; updateRoles(roles: Roles

, tenantId?: string): Promise; }