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 AllowIfAnySubRuleAllowsPrivacyPolicyRule>, TViewerContext extends ViewerContext, TEntity extends ReadonlyEntity, TSelectedFields extends keyof TFields = keyof TFields> extends PrivacyPolicyRule { private readonly subRules; constructor(subRules: PrivacyPolicyRule[]); evaluateAsync(viewerContext: TViewerContext, queryContext: EntityQueryContext, evaluationContext: EntityPrivacyPolicyRuleEvaluationContext, entity: TEntity): Promise; }