import { AnyObject } from '@loopback/repository'; import { IGraphTool } from '../../../graphs'; import { DbQueryGraph } from '../db-query.graph'; import { DbQueryConfig } from '../types'; import { StructuredToolInterface } from '@langchain/core/tools'; import { RunnableToolLike } from '@langchain/core/runnables'; export declare class ImproveDatasetTool implements IGraphTool { private readonly queryPipeline; private readonly config; needsReview: boolean; key: string; constructor(queryPipeline: DbQueryGraph, config: DbQueryConfig); getValue(result: Record): string; getMetadata(result: Record): AnyObject; build(): Promise; }