import { RubricClientConfig } from '../rubric-client'; declare let BaseCallbackHandler: any; type LLMResult = any; type AgentAction = any; type AgentFinish = any; type ChainValues = any; export interface RubricLangChainConfig extends RubricClientConfig { events?: Array<'llm' | 'chain' | 'agent' | 'tool'>; pipelineId?: string | ((runId: string) => string); } export declare class RubricLangChainHandler extends BaseCallbackHandler { name: string; private readonly client; private readonly events; private readonly pipelineId?; constructor(config: RubricLangChainConfig); handleLLMEnd(output: LLMResult, runId: string): Promise; handleLLMError(error: Error, runId: string): Promise; handleChainEnd(outputs: ChainValues, runId: string, parentRunId?: string): Promise; handleChainError(error: Error, runId: string): Promise; handleAgentAction(action: AgentAction, runId: string): Promise; handleAgentEnd(action: AgentFinish, runId: string): Promise; handleToolEnd(output: string, runId: string): Promise; handleToolError(error: Error, runId: string): Promise; private _attest; private _pipeline; shutdown(): Promise; } export {}; //# sourceMappingURL=langchain.d.ts.map