import type { AiGatewayConfigDto } from '@n8n/api-types'; import type { INode } from 'n8n-workflow'; export type AiGatewayEligibilityReason = 'nodeNotCovered' | 'credentialTypeNotCovered' | 'versionTooLow' | 'unsupportedAction' | 'hiddenPropertySet'; export type AiGatewayEligibility = { eligible: true; } | { eligible: false; reason: AiGatewayEligibilityReason; details?: string; }; export declare function checkAiGatewayEligibility(node: Pick, credentialType: string, config: AiGatewayConfigDto, resolvedParameters?: Record): AiGatewayEligibility;