import type { PrismaClient } from "@prisma/client";
import { type ProjectScope } from "./scopePolicy.js";
export declare function resolveEffectiveAbilities(db: PrismaClient, projectId: bigint, userId: bigint): Promise<{
    role: string | null;
    abilities: string[];
    scope: ProjectScope;
}>;
export declare function userHasEffectivePermission(db: PrismaClient, userId: bigint, projectId: bigint | null, permissionKey: string): Promise<boolean>;
//# sourceMappingURL=effectivePermissions.d.ts.map