Files
n8n-mcp/dist/config/n8n-api.d.ts
2025-12-05 12:01:31 +01:00

15 lines
503 B
TypeScript

export declare function getN8nApiConfig(): {
baseUrl: string;
apiKey: string;
timeout: number;
maxRetries: number;
} | null;
export declare function isN8nApiConfigured(): boolean;
export declare function getN8nApiConfigFromContext(context: {
n8nApiUrl?: string;
n8nApiKey?: string;
n8nApiTimeout?: number;
n8nApiMaxRetries?: number;
}): N8nApiConfig | null;
export type N8nApiConfig = NonNullable<ReturnType<typeof getN8nApiConfig>>;
//# sourceMappingURL=n8n-api.d.ts.map