import { DatabaseService } from '../../config';
import { PermissionValue } from '../../modules/access-control/permission-catalog';
import { PermissionUserContext } from './permission-context.types';
export declare class PermissionResolverService {
    private readonly db;
    constructor(db: DatabaseService);
    isOwnerBypass(ctx: PermissionUserContext): boolean;
    private getRolePermissionsMap;
    private mergePermissionMap;
    resolveAccessRoleId(ctx: PermissionUserContext): Promise<string | null>;
    resolveForUser(ctx: PermissionUserContext): Promise<Record<string, PermissionValue>>;
}
