import type { PackagePolicyRestrictions, RestrictedPackageType } from '@n8n/api-types'; import { LicenseState } from '@n8n/backend-common'; import { PolicyEnforcementService } from '../../policy/policy-enforcement.service'; import type { InstalledTypeRestrictionsProvider } from '@n8n/backend-services'; import { TypeAvailabilityPolicyService, type ComposedTypeVerdict } from './type-availability-policy.service'; export declare function toRestrictedTypes(withoutProjectPolicy: readonly ComposedTypeVerdict[], byProject: ReadonlyArray<{ projectId: string; verdicts: readonly ComposedTypeVerdict[]; }>): RestrictedPackageType[]; export declare class NodeTypePolicyInstalledTypeRestrictionsProvider implements InstalledTypeRestrictionsProvider { private readonly service; private readonly licenseState; private readonly policyEnforcementService; constructor(service: TypeAvailabilityPolicyService, licenseState: LicenseState, policyEnforcementService: PolicyEnforcementService); describeRestrictions({ nodeTypes, }: { nodeTypes: readonly string[]; }): Promise; }