import { CallbackManagerForToolRun } from "@langchain/core/callbacks/manager"; import { Tool, type ToolParams } from "@langchain/core/tools"; import { JigsawStack } from "jigsawstack"; type JigsawStackType = ReturnType; export type SpeechToTextInputParams = Omit["0"], "url">; export type SpeechToTextOutputParams = Awaited>; export interface JigsawStackSpeechToTextParams extends ToolParams { /** * The API key to use. * @default {process.env.JIGSAWSTACK_API_KEY} */ apiKey?: string; /** * Speech to Text input parameters. if `file_store_key` is specified, provide an empty string to the `url` input. */ params: SpeechToTextInputParams; } export declare class JigsawStackSpeechToText extends Tool { client: JigsawStackType; static lc_name(): string; description: string; name: string; params?: SpeechToTextInputParams; constructor(fields?: JigsawStackSpeechToTextParams); protected _call(url: string, _runManager?: CallbackManagerForToolRun): Promise; } export {};