import { Type } from '@nestjs/common'; import { CaliobaseRequestUser, Organization } from '../auth'; import { EffectivePolicy, PolicyStatements } from './decorators/AccessPolicies.decorator'; import { EntityActions } from './roles'; export declare function getPolicyFromStatements({ entityType, action, policyStatements, organization, user, }: { entityType: Type; action: EntityActions; policyStatements: PolicyStatements | undefined; organization: Pick | null; user: CaliobaseRequestUser; }): EffectivePolicy | undefined;