import Groq from 'groq-sdk'; import { BaseChatModel, type BaseChatModelParams } from '@langchain/core/language_models/chat_models'; import type { ChatResult } from '@langchain/core/outputs'; import { ChatGenerationChunk } from '@langchain/core/outputs'; import type { BaseMessage } from '@langchain/core/messages'; import type { CallbackManagerForLLMRun } from '@langchain/core/callbacks/manager'; import type { ISupplyDataFunctions } from 'n8n-workflow'; interface GroqLangChainWrapperParams extends BaseChatModelParams { apiKey: string; model: string; temperature?: number; maxTokens?: number; includeReasoning?: boolean; reasoningFormat?: 'parsed' | 'raw' | 'hidden'; reasoningEffort?: 'low' | 'medium' | 'high' | 'none' | 'default'; supplyDataFunctions?: ISupplyDataFunctions; } export declare class GroqLangChainWrapper extends BaseChatModel { apiKey: string; model: string; temperature: number; maxTokens?: number; includeReasoning?: boolean; reasoningFormat?: 'parsed' | 'raw' | 'hidden'; reasoningEffort?: 'low' | 'medium' | 'high' | 'none' | 'default'; client: Groq; supplyDataFunctions?: ISupplyDataFunctions; lc_namespace: string[]; constructor(params: GroqLangChainWrapperParams); _lmodelType(): string; _llmType(): string; _generate(messages: BaseMessage[], options?: any, runManager?: CallbackManagerForLLMRun): Promise; _streamResponseChunks(messages: BaseMessage[], options?: any, runManager?: CallbackManagerForLLMRun): AsyncGenerator; } export {};