import type { INode } from 'n8n-workflow'; export type CredentialRefusal = { message: string; description?: string; nodeName?: string; }; export declare function findCredentialRefusal(workflowId: string, nodes: INode[], userId: string): Promise;