import { CallbackManagerForToolRun } from "@langchain/core/callbacks/manager"; import { Tool, type ToolParams } from "@langchain/core/tools"; import { JigsawStack } from "jigsawstack"; type JigsawStackType = ReturnType; export type TextToSQLInputParams = Omit["0"], "prompt">; export type TextToSQLOutputParams = Awaited>; export interface JigsawStackTextToSQLParams extends ToolParams { /** * The API key to use. * @default {process.env.JIGSAWSTACK_API_KEY} */ apiKey?: string; /** * Text to SQL input parameters. if `file_store_key` is specified, `sql_schema` is not required. */ params: TextToSQLInputParams; } export declare class JigsawStackTextToSQL extends Tool { client: JigsawStackType; static lc_name(): string; description: string; name: string; params: TextToSQLInputParams; constructor(fields: JigsawStackTextToSQLParams); protected _call(prompt: string, _runManager?: CallbackManagerForToolRun): Promise; private validateParams; } export {};