import { IAccount, IRoleRef } from '../dataSource/models/accountModel'; declare class AccountRoleController { hasRole(account: IAccount, roleId: string): boolean; getRoleRefByRoleId(account: IAccount, roleId: string): IRoleRef | null; getRoleRefByRefId(account: IAccount, roleRefId: string): Promise; getRoleRef(accountId: string, roleRefId: string): Promise; getRoleRefs(accountId: string): Promise; saveRoleRef(accountId: string, roleId: string): Promise; updateRoleRef(accountId: string, roleRefId: string, roleId: string | undefined): Promise; deleteRoleRef(accountId: string, roleRefId: string): Promise; } declare const _default: AccountRoleController; export default _default;