import type { User } from '@n8n/db'; import type { OAuthResourceGrant } from 'n8n-workflow'; import type { ProtectedResource } from '../../services/protected-resource.registry'; import type { WorkflowFinderService } from '../../workflows/workflow-finder.service'; export declare function authorizeAgainstGrant(workflowFinderService: WorkflowFinderService, grant: OAuthResourceGrant, user: User): Promise; export declare function triggerResourceGate(workflowFinderService: WorkflowFinderService, grant: OAuthResourceGrant): Pick;