/** * Copyright 2025 The Artinet Project * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod/v4'; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. * @description Represents the role of a message sender. */ export declare const RoleSchema: z.ZodEnum<{ function: "function"; user: "user"; agent: "agent"; assistant: "assistant"; system: "system"; developer: "developer"; tool: "tool"; }>; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export type Role = z.output; export declare const Role: { function: "function"; user: "user"; agent: "agent"; assistant: "assistant"; system: "system"; developer: "developer"; tool: "tool"; }; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export declare const FunctionSchema: z.ZodObject<{ id: z.ZodNonOptional>; type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; parameters: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export type Function = z.output; export declare const isFunction: (func: unknown) => func is Function; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export declare const FunctionCallSchema: z.ZodObject<{ id: z.ZodNonOptional>; type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export type FunctionCall = z.output; export declare const isFunctionCall: (call: unknown) => call is FunctionCall; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export declare const CustomToolCallSchema: z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"custom">; custom: z.ZodObject<{ input: z.ZodString; name: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export type CustomToolCall = z.output; export declare const isCustomToolCall: (call: unknown) => call is CustomToolCall; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export declare const MessageSchema: z.ZodObject<{ id: z.ZodOptional>; role: z.ZodLiteral<"assistant">; content: z.ZodNullable; tool_calls: z.ZodNullable>; type: z.ZodLiteral<"function">; function: z.ZodObject<{ name: z.ZodString; arguments: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"custom">; custom: z.ZodObject<{ input: z.ZodString; name: z.ZodString; }, z.core.$strip>; }, z.core.$strip>]>>>>; }, z.core.$strip>; /** * @deprecated This is an experimental type, subject to rapid modification and its location will change. */ export type Message = z.output; export declare const isMessage: (message: unknown) => message is Message; //# sourceMappingURL=xp.d.ts.map