import { Logger } from '@n8n/backend-common'; import type { EnforcementPoint, PolicyDecision } from '@n8n/decorators'; import { PolicyCheckMetadata } from '@n8n/decorators'; import type { PolicyContext, PolicyEnforcementBackend } from '../../policy/policy-enforcement-backend'; export declare function withDeadline(start: (signal: AbortSignal) => Promise, ms: number): Promise; export declare class PolicyDecisionService implements PolicyEnforcementBackend { private readonly logger; private readonly checkMetadata; constructor(logger: Logger, checkMetadata: PolicyCheckMetadata); enforce(point: Point, context: PolicyContext): Promise; evaluate(point: Point, context: PolicyContext): Promise; hasChecksFor(point: EnforcementPoint): boolean; private audit; private runChecks; private runnersFor; }