import type { EntityPrivacyPolicyRuleEvaluationContext } from '../EntityPrivacyPolicy.ts'; import type { EntityQueryContext } from '../EntityQueryContext.ts'; import type { ReadonlyEntity } from '../ReadonlyEntity.ts'; import type { ViewerContext } from '../ViewerContext.ts'; import type { RuleEvaluationOutcome } from './PrivacyPolicyRule.ts'; import { PrivacyPolicyRule } from './PrivacyPolicyRule.ts'; export declare class EvaluateIfEntityFieldPredicatePrivacyPolicyRule>, TViewerContext extends ViewerContext, TEntity extends ReadonlyEntity, N extends TSelectedFields, TSelectedFields extends keyof TFields = keyof TFields> extends PrivacyPolicyRule { private readonly fieldName; private readonly shouldEvaluatePredicate; private readonly rule; constructor(fieldName: N, shouldEvaluatePredicate: (fieldValue: TFields[N]) => boolean, rule: PrivacyPolicyRule); evaluateAsync(viewerContext: TViewerContext, queryContext: EntityQueryContext, evaluationContext: EntityPrivacyPolicyRuleEvaluationContext, entity: TEntity): Promise; }