import { z } from "zod"; /** * Input schema for listing messages in a thread */ export declare const ListMessagesInputSchema: z.ZodObject<{ threadId: z.ZodString; limit: z.ZodDefault>; cursor: z.ZodOptional; }, z.core.$strip>; /** * Output schema for listing messages */ export declare const ListMessagesOutputSchema: z.ZodObject<{ messages: z.ZodArray; content: z.ZodArray; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; status: z.ZodOptional>; reasoningTokens: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"tool_call">; name: z.ZodString; params: z.ZodOptional; result: z.ZodOptional; status: z.ZodOptional>; toolCallId: z.ZodOptional; durationMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"artifact">; name: z.ZodEnum<{ alert_card: "alert_card"; integration_required: "integration_required"; issue_card: "issue_card"; log_detail: "log_detail"; mdx: "mdx"; table: "table"; timeseries: "timeseries"; }>; data: z.ZodAny; toolCallId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fork">; sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceThreadTitle: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"summary">; summary: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"slack_context">; channelId: z.ZodString; isTruncated: z.ZodOptional; messages: z.ZodArray; displayName: z.ZodString; text: z.ZodString; isBot: z.ZodBoolean; files: z.ZodOptional; attachmentId: z.ZodOptional; ingestionStatus: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"teams_context">; conversationId: z.ZodString; isTruncated: z.ZodOptional; messages: z.ZodArray; displayName: z.ZodString; text: z.ZodString; isBot: z.ZodBoolean; createdDateTime: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; source: z.ZodEnum<{ agent: "agent"; api: "api"; app: "app"; bitbucket: "bitbucket"; cli: "cli"; github: "github"; linear: "linear"; mcp: "mcp"; sdk: "sdk"; slack: "slack"; system: "system"; teams: "teams"; web: "web"; }>; createdAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>; /** * Input schema for appending a message to a thread */ export declare const AppendMessageInputSchema: z.ZodObject<{ threadId: z.ZodString; message: z.ZodString; wait: z.ZodDefault; timeoutSeconds: z.ZodDefault>; automationId: z.ZodOptional; ambientServiceRun: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for deferred message append responses. */ export declare const AppendMessageOutputSchema: z.ZodObject<{ failureClass: z.ZodNullable>; failureRetryable: z.ZodNullable; completed: z.ZodBoolean; threadId: z.ZodString; runId: z.ZodString; messageId: z.ZodOptional; status: z.ZodEnum<{ aborted: "aborted"; completed: "completed"; error: "error"; processing: "processing"; }>; response: z.ZodNullable; }, z.core.$strip>; export type ListMessagesInput = z.infer; export type ListMessagesOutput = z.infer; export type AppendMessageInput = z.infer; export type AppendMessageOutput = z.infer; /** * Contract definition for messages.list. */ export declare const listMessages: import("../orpc-contracts/index.js").OperationDefinition>; cursor: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ messages: z.ZodArray; content: z.ZodArray; message: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reasoning">; status: z.ZodOptional>; reasoningTokens: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"tool_call">; name: z.ZodString; params: z.ZodOptional; result: z.ZodOptional; status: z.ZodOptional>; toolCallId: z.ZodOptional; durationMs: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"artifact">; name: z.ZodEnum<{ alert_card: "alert_card"; integration_required: "integration_required"; issue_card: "issue_card"; log_detail: "log_detail"; mdx: "mdx"; table: "table"; timeseries: "timeseries"; }>; data: z.ZodAny; toolCallId: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"fork">; sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceThreadTitle: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"summary">; summary: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"slack_context">; channelId: z.ZodString; isTruncated: z.ZodOptional; messages: z.ZodArray; displayName: z.ZodString; text: z.ZodString; isBot: z.ZodBoolean; files: z.ZodOptional; attachmentId: z.ZodOptional; ingestionStatus: z.ZodOptional>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"teams_context">; conversationId: z.ZodString; isTruncated: z.ZodOptional; messages: z.ZodArray; displayName: z.ZodString; text: z.ZodString; isBot: z.ZodBoolean; createdDateTime: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>]>>; source: z.ZodEnum<{ agent: "agent"; api: "api"; app: "app"; bitbucket: "bitbucket"; cli: "cli"; github: "github"; linear: "linear"; mcp: "mcp"; sdk: "sdk"; slack: "slack"; system: "system"; teams: "teams"; web: "web"; }>; createdAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>, "api">; /** * Contract definition for messages.append. */ export declare const appendMessage: import("../orpc-contracts/index.js").OperationDefinition; timeoutSeconds: z.ZodDefault>; automationId: z.ZodOptional; ambientServiceRun: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ failureClass: z.ZodNullable>; failureRetryable: z.ZodNullable; completed: z.ZodBoolean; threadId: z.ZodString; runId: z.ZodString; messageId: z.ZodOptional; status: z.ZodEnum<{ aborted: "aborted"; completed: "completed"; error: "error"; processing: "processing"; }>; response: z.ZodNullable; }, z.core.$strip>, "api">;