import { z } from "zod"; /** * Shared schema for thread representation in API responses */ export declare const ThreadSchema: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; /** * Shared schema for message representation in API responses */ export declare const MessageSchema: z.ZodObject<{ id: z.ZodString; role: z.ZodEnum<{ assistant: "assistant"; user: "user"; }>; 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>; /** * Input schema for listing threads */ export declare const ListThreadsInputSchema: z.ZodObject<{ projectId: z.ZodOptional; limit: z.ZodDefault>; cursor: z.ZodOptional; status: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for listing threads */ export declare const ListThreadsOutputSchema: z.ZodObject<{ threads: z.ZodArray; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>; /** * Input schema for getting a single thread */ export declare const GetThreadInputSchema: z.ZodObject<{ threadId: z.ZodString; }, z.core.$strip>; /** * Output schema for getting a single thread with messages */ export declare const GetThreadOutputSchema: z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; 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>>; }, z.core.$strip>; /** * Input schema for creating a new thread. */ export declare const CreateThreadInputSchema: z.ZodObject<{ projectId: z.ZodOptional; message: z.ZodString; wait: z.ZodDefault; timeoutSeconds: z.ZodDefault>; automationId: z.ZodOptional; kind: z.ZodOptional>; ambientServiceRun: z.ZodOptional>; }, z.core.$strip>; /** * Output schema for deferred thread creation responses. */ export declare const CreateThreadOutputSchema: 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 Thread = z.infer; export type Message = z.infer; export type ListThreadsInput = z.infer; export type ListThreadsOutput = z.infer; export type GetThreadInput = z.infer; export type GetThreadOutput = z.infer; export type CreateThreadInput = z.infer; export type CreateThreadOutput = z.infer; /** * Input schema for getting thread run status */ export declare const GetThreadStatusInputSchema: z.ZodObject<{ threadId: z.ZodString; }, z.core.$strip>; /** * Output schema for thread run status response. */ export declare const GetThreadStatusOutputSchema: z.ZodObject<{ status: z.ZodEnum<{ idle: "idle"; processing: "processing"; }>; lastRunStatus: z.ZodNullable>; }, z.core.$strip>; export type GetThreadStatusInput = z.infer; export type GetThreadStatusOutput = z.infer; /** * Input schema for stopping a thread's in-flight run. */ export declare const StopThreadInputSchema: z.ZodObject<{ threadId: z.ZodString; }, z.core.$strip>; /** * Output schema for threads.stop. * * Stopping is best-effort and idempotent: a 2xx response always reports * `success: true`, including when the thread had no active run. Failures * (missing thread, no access) surface as HTTP error responses. */ export declare const StopThreadOutputSchema: z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>; export type StopThreadInput = z.infer; export type StopThreadOutput = z.infer; /** * Input schema for updating a thread */ export declare const UpdateThreadInputSchema: z.ZodObject<{ threadId: z.ZodString; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; }, z.core.$strip>; /** * Output schema for updating a thread */ export declare const UpdateThreadOutputSchema: z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type UpdateThreadInput = z.infer; export type UpdateThreadOutput = z.infer; /** * Contract definition for threads.list. */ export declare const listThreads: import("../orpc-contracts/index.js").OperationDefinition; limit: z.ZodDefault>; cursor: z.ZodOptional; status: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ threads: z.ZodArray; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>, "api">; /** * Contract definition for threads.get. */ export declare const getThread: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; 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>>; }, z.core.$strip>, "api">; /** * Contract definition for threads.getStatus. */ export declare const getThreadStatus: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ status: z.ZodEnum<{ idle: "idle"; processing: "processing"; }>; lastRunStatus: z.ZodNullable>; }, z.core.$strip>, "api">; /** * Contract definition for threads.stop. */ export declare const stopThread: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, "api">; /** * Contract definition for threads.create. */ export declare const createThread: import("../orpc-contracts/index.js").OperationDefinition; message: z.ZodString; wait: z.ZodDefault; timeoutSeconds: z.ZodDefault>; automationId: z.ZodOptional; kind: 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">; /** * Contract definition for threads.update. */ export declare const updateThread: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; /** * Shared schema for thread visibility values. */ export declare const ThreadVisibilitySchema: z.ZodEnum<{ organization: "organization"; private: "private"; }>; export type ThreadVisibility = z.infer; /** * Input schema for forking a thread from a message point. */ export declare const ForkThreadInputSchema: z.ZodObject<{ threadId: z.ZodString; messageId: z.ZodString; }, z.core.$strip>; /** * Output schema for forking a thread. */ export declare const ForkThreadOutputSchema: z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type ForkThreadInput = z.infer; export type ForkThreadOutput = z.infer; /** * Input schema for setting a thread's visibility. */ export declare const SetThreadVisibilityInputSchema: z.ZodObject<{ threadId: z.ZodString; visibility: z.ZodEnum<{ organization: "organization"; private: "private"; }>; }, z.core.$strip>; /** * Output schema for setting a thread's visibility. */ export declare const SetThreadVisibilityOutputSchema: z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; visibility: z.ZodEnum<{ organization: "organization"; private: "private"; }>; }, z.core.$strip>; export type SetThreadVisibilityInput = z.infer; export type SetThreadVisibilityOutput = z.infer; /** * Shared schema describing a shareable read-only snapshot of a thread. */ export declare const ThreadShareLinkSchema: z.ZodObject<{ shareId: z.ZodString; threadId: z.ZodString; url: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; export type ThreadShareLink = z.infer; /** * Input schema for creating a shareable share link for a thread. */ export declare const CreateThreadShareLinkInputSchema: z.ZodObject<{ threadId: z.ZodString; }, z.core.$strip>; /** * Output schema for creating a shareable share link. */ export declare const CreateThreadShareLinkOutputSchema: z.ZodObject<{ share: z.ZodObject<{ shareId: z.ZodString; threadId: z.ZodString; url: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type CreateThreadShareLinkInput = z.infer; export type CreateThreadShareLinkOutput = z.infer; /** * Input schema for revoking a shareable share link. */ export declare const RevokeThreadShareLinkInputSchema: z.ZodObject<{ threadId: z.ZodString; shareId: z.ZodString; }, z.core.$strip>; /** * Output schema for revoking a shareable share link. * * Revoke is a DELETE endpoint and returns 204 No Content, so there is no * response body. */ export declare const RevokeThreadShareLinkOutputSchema: z.ZodVoid; export type RevokeThreadShareLinkInput = z.infer; export type RevokeThreadShareLinkOutput = z.infer; /** * Input schema for listing shareable share links for a thread. */ export declare const ListThreadShareLinksInputSchema: z.ZodObject<{ threadId: z.ZodString; }, z.core.$strip>; /** * Output schema for listing shareable share links. */ export declare const ListThreadShareLinksOutputSchema: z.ZodObject<{ shares: z.ZodArray>; }, z.core.$strip>; export type ListThreadShareLinksInput = z.infer; export type ListThreadShareLinksOutput = z.infer; /** * Contract definition for threads.fork. */ export declare const forkThread: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; /** * Contract definition for threads.setVisibility. */ export declare const setThreadVisibility: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; visibility: z.ZodEnum<{ organization: "organization"; private: "private"; }>; }, z.core.$strip>, "api">; /** * Contract definition for threads.createShareLink. */ export declare const createThreadShareLink: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ share: z.ZodObject<{ shareId: z.ZodString; threadId: z.ZodString; url: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, "api">; /** * Contract definition for threads.listShareLinks. */ export declare const listThreadShareLinks: import("../orpc-contracts/index.js").OperationDefinition, z.ZodObject<{ shares: z.ZodArray>; }, z.core.$strip>, "api">; /** * Contract definition for threads.revokeShareLink. */ export declare const revokeThreadShareLink: import("../orpc-contracts/index.js").OperationDefinition, z.ZodVoid, "api">; /** * Contract tree for thread operations implemented contract-first. */ export declare const threadsContract: { readonly list: import("@orpc/contract").ContractProcedure; limit: z.ZodDefault>; cursor: z.ZodOptional; status: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ threads: z.ZodArray; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; nextCursor: z.ZodNullable; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly get: import("@orpc/contract").ContractProcedure, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; 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>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly getStatus: import("@orpc/contract").ContractProcedure, z.ZodObject<{ status: z.ZodEnum<{ idle: "idle"; processing: "processing"; }>; lastRunStatus: z.ZodNullable>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly stop: import("@orpc/contract").ContractProcedure, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly create: import("@orpc/contract").ContractProcedure; message: z.ZodString; wait: z.ZodDefault; timeoutSeconds: z.ZodDefault>; automationId: z.ZodOptional; kind: 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>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly update: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly fork: import("@orpc/contract").ContractProcedure, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly setVisibility: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ thread: z.ZodObject<{ id: z.ZodString; projectId: z.ZodString; title: z.ZodNullable; status: z.ZodEnum<{ archived: "archived"; regular: "regular"; }>; source: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; visibility: z.ZodEnum<{ organization: "organization"; private: "private"; }>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly createShareLink: import("@orpc/contract").ContractProcedure, z.ZodObject<{ share: z.ZodObject<{ shareId: z.ZodString; threadId: z.ZodString; url: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly listShareLinks: import("@orpc/contract").ContractProcedure, z.ZodObject<{ shares: z.ZodArray>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly revokeShareLink: import("@orpc/contract").ContractProcedure, z.ZodVoid, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; };