import { ChatAssistantFunctionToolCall, ImageProps, OutputHandler, PromptElement, PromptProps } from "./types"; import { JSONSchema7 } from "json-schema"; import { z } from "zod"; export declare function SystemMessage(props: PromptProps<{ name?: string; to?: string; }>): PromptElement; export declare function UserMessage(props: PromptProps<{ name?: string; to?: string; }>): PromptElement; export declare function AssistantMessage(props: PromptProps<{ functionCall?: { name: string; arguments: string; }; toolCalls?: { id: string; index: number; tool: ChatAssistantFunctionToolCall; }[]; to?: string; }>): PromptElement; export declare function ImageComponent(props: PromptProps): PromptElement; export declare function FunctionMessage(props: PromptProps<{ name: string; to?: string; }>): PromptElement; export declare function ToolResultMessage(props: PromptProps<{ name: string; to?: string; }>): PromptElement; export declare function Tools(props: PromptProps<{ tools: { name: string; description: string; parameters: JSONSchema7; onCall?: (args: string, toolCallId: string, toolName: string, toolIndex: number) => Promise; onFormatAndYield?: (args: string, toolCallId: string, toolName: string, toolIndex: number) => Promise; }[]; onReturn: OutputHandler>; }>): PromptElement; export declare function ZTools(props: PromptProps<{ tools: { name: string; description: string; parameters: z.ZodType; onCall?: (args: ParamT, toolCallId: string, toolName: string, toolIndex: number) => Promise; onParseError?: (error: z.ZodError, rawArgs: string) => Promise; onFormatAndYield?: (args: ParamT, toolCallId: string, toolName: string, toolIndex: number) => Promise; }[]; onReturn: OutputHandler>; useAnthropic?: boolean; }>): PromptElement; export declare function Function(props: PromptProps<{ name: string; description: string; parameters: JSONSchema7; onCall?: (args: string) => Promise; }>): PromptElement; export declare function ZFunction(props: PromptProps<{ name: string; description: string; parameters: z.ZodType; onCall?: (args: ParamT) => Promise; onParseError?: (error: z.ZodError, rawArgs: string) => Promise; }>): any; //# sourceMappingURL=components.d.ts.map