import type { Config } from '../config/schema.js'; import type { WorkflowDefinition } from '../workflows/domain/definition.js'; export type ConnectorPreflightIssueCode = 'not_installed' | 'disabled' | 'agent_not_allowed' | 'scope_too_narrow' | 'connection_missing' | 'reauthorization_required'; export type ConnectorPreflightIssue = { connectorId: string; code: ConnectorPreflightIssueCode; message: string; recoveryPath: string; }; export type ConnectorPreflightResult = { ok: boolean; issues: ConnectorPreflightIssue[]; optionalIssues: ConnectorPreflightIssue[]; }; export declare function preflightWorkflowConnectors(input: { definition: WorkflowDefinition; config: Config; agentId: string; principalId?: string; }): ConnectorPreflightResult;