UNPKG

@n8n/n8n-nodes-langchain

Version:
13 lines (12 loc) 659 B
import type { INode, NodeEgressFilter } from 'n8n-workflow'; export interface DatabricksOAuth2Credential { host: string; grantType: 'clientCredentials' | 'authorizationCode'; clientId: string; clientSecret: string; scope?: string; authentication?: 'header' | 'body'; } export declare const CHAT_MODEL_USER_AGENT = "n8n_DatabricksNode"; export declare function getDatabricksTokenProvider(node: INode, credential: DatabricksOAuth2Credential, egressFilter?: NodeEgressFilter): () => Promise<string>; export declare function createDatabricksFetch(getToken: () => Promise<string>, egressFilter?: NodeEgressFilter): typeof globalThis.fetch;