import type { PrismaClient } from "@prisma/client";
/** Whether the user may sign in (has at least one active access path). */
export declare function canUserAuthenticate(db: PrismaClient, userId: bigint): Promise<boolean>;
/** TP users need an active staff membership or provider ownership for this project. */
export declare function hasActiveTpProjectAccess(db: PrismaClient, projectId: bigint, userId: bigint): Promise<boolean>;
//# sourceMappingURL=userAccessPolicy.d.ts.map