import { InputValues } from "../utils/types/index.js"; import { RunnableConfig } from "../runnables/types.js"; import { Runnable, RunnableLike } from "../runnables/base.js"; import { ChatPromptValueInterface } from "../prompt_values.js"; import { BaseMessagePromptTemplateLike, ChatPromptTemplate, ChatPromptTemplateInput } from "./chat.js"; //#region src/prompts/structured.d.ts /** * Interface for the input of a ChatPromptTemplate. */ interface StructuredPromptInput extends ChatPromptTemplateInput { schema: Record; method?: "jsonMode" | "jsonSchema" | "functionMode"; } declare class StructuredPrompt extends ChatPromptTemplate implements StructuredPromptInput { schema: Record; method?: "jsonMode" | "jsonSchema" | "functionMode"; lc_namespace: string[]; get lc_aliases(): Record; constructor(input: StructuredPromptInput); pipe(coerceable: RunnableLike): Runnable, RunnableConfig>; static fromMessagesAndSchema(promptMessages: (ChatPromptTemplate | BaseMessagePromptTemplateLike)[], schema: StructuredPromptInput["schema"], method?: "jsonMode" | "jsonSchema" | "functionMode"): ChatPromptTemplate; } //#endregion export { StructuredPrompt, StructuredPromptInput }; //# sourceMappingURL=structured.d.ts.map