import { isPromptResearch } from "./research.js"; export declare const PromptBase: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); }, {}>; export declare const PromptReq: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.req"; request: { model?: string | undefined; messages: ({ role: "assistant" | "system" | "user"; content: ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; }; } | { type: "vibes_file"; uploadId: string; name: string; mimeType: string; kind: "image" | "text"; originalUploadId?: string | undefined; size?: number | undefined; })[]; } | { role: "assistant"; content: string | null; tool_calls: { id: string; type: "function"; function: { name: string; arguments: string; }; }[]; } | { role: "tool"; content: string; tool_call_id: string; })[]; stream?: boolean | undefined; temperature?: number | undefined; max_tokens?: number | undefined; top_p?: number | undefined; logprobs?: boolean | undefined; top_logsprobs?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; stop?: string | string[] | undefined; verbosity?: "high" | "low" | "max" | "medium" | undefined; modalities?: string[] | undefined; tools?: { type: "function"; function: { name: string; description?: string | undefined; parameters: unknown; }; }[] | undefined; tool_choice?: "auto" | "none" | "required" | { type: "function"; function: { name: string; }; } | undefined; }; }, {}>; export type PromptReq = typeof PromptReq.infer; export declare function isPromptReq(msg: unknown): msg is PromptReq; export declare const PromptFS: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.fs"; fileSystem: ({ filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "code-block"; lang: string; content: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "code-ref"; refId: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "str-asset-block"; content: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "str-asset-ref"; refId: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "uint8-asset-block"; content: Uint8Array; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "uint8-asset-ref"; refId: string; })[]; }, {}>; export type PromptFS = typeof PromptFS.infer; export declare function isPromptFSSet(msg: unknown): msg is PromptFS; export declare const PromptBlockBegin: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.block-begin"; }, {}>; export type PromptBlockBegin = typeof PromptBlockBegin.infer; export declare const PromptError: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.error"; error: string; }, {}>; export type PromptError = typeof PromptError.infer; export declare function isPromptError(msg: unknown): msg is PromptError; export declare const PromptBlockEnd: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.block-end"; }, {}>; export type PromptBlockEnd = typeof PromptBlockEnd.infer; export declare const PromptModelResolved: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.model-resolved"; model: string; }, {}>; export type PromptModelResolved = typeof PromptModelResolved.infer; export declare function isPromptModelResolved(msg: unknown): msg is PromptModelResolved; export declare const PromptFsPersisted: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.fs-persisted"; fsRef: (In: { appSlug: string; ownerHandle?: string | undefined; userSlug?: string | undefined; mode: "dev" | "production"; fsId: string; }) => import("arktype").Out<{ appSlug: string; mode: "dev" | "production"; fsId: string; ownerHandle: string; }>; }, {}>; export type PromptFsPersisted = typeof PromptFsPersisted.infer; export declare function isPromptFsPersisted(msg: unknown): msg is PromptFsPersisted; export declare const PromptSystemPrompt: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.system-prompt"; text: string; }, {}>; export type PromptSystemPrompt = typeof PromptSystemPrompt.infer; export declare function isPromptSystemPrompt(msg: unknown): msg is PromptSystemPrompt; export declare const PromptRaw: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.raw"; text: string; }, {}>; export type PromptRaw = typeof PromptRaw.infer; export declare function isPromptRaw(msg: unknown): msg is PromptRaw; export declare const PromptDryRunPayload: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.dry-run-payload"; request: { model?: string | undefined; messages: ({ role: "assistant" | "system" | "user"; content: ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; }; } | { type: "vibes_file"; uploadId: string; name: string; mimeType: string; kind: "image" | "text"; originalUploadId?: string | undefined; size?: number | undefined; })[]; } | { role: "assistant"; content: string | null; tool_calls: { id: string; type: "function"; function: { name: string; arguments: string; }; }[]; } | { role: "tool"; content: string; tool_call_id: string; })[]; stream?: boolean | undefined; temperature?: number | undefined; max_tokens?: number | undefined; top_p?: number | undefined; logprobs?: boolean | undefined; top_logsprobs?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; stop?: string | string[] | undefined; verbosity?: "high" | "low" | "max" | "medium" | undefined; modalities?: string[] | undefined; tools?: { type: "function"; function: { name: string; description?: string | undefined; parameters: unknown; }; }[] | undefined; tool_choice?: "auto" | "none" | "required" | { type: "function"; function: { name: string; }; } | undefined; }; }, {}>; export type PromptDryRunPayload = typeof PromptDryRunPayload.infer; export declare function isPromptDryRunPayload(msg: unknown): msg is PromptDryRunPayload; export declare const PromptMsgs: import("arktype/internal/variants/object.ts").ObjectType<{ streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.req"; request: { model?: string | undefined; messages: ({ role: "assistant" | "system" | "user"; content: ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; }; } | { type: "vibes_file"; uploadId: string; name: string; mimeType: string; kind: "image" | "text"; originalUploadId?: string | undefined; size?: number | undefined; })[]; } | { role: "assistant"; content: string | null; tool_calls: { id: string; type: "function"; function: { name: string; arguments: string; }; }[]; } | { role: "tool"; content: string; tool_call_id: string; })[]; stream?: boolean | undefined; temperature?: number | undefined; max_tokens?: number | undefined; top_p?: number | undefined; logprobs?: boolean | undefined; top_logsprobs?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; stop?: string | string[] | undefined; verbosity?: "high" | "low" | "max" | "medium" | undefined; modalities?: string[] | undefined; tools?: { type: "function"; function: { name: string; description?: string | undefined; parameters: unknown; }; }[] | undefined; tool_choice?: "auto" | "none" | "required" | { type: "function"; function: { name: string; }; } | undefined; }; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.fs"; fileSystem: ({ filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "code-block"; lang: string; content: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "code-ref"; refId: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "str-asset-block"; content: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "str-asset-ref"; refId: string; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "uint8-asset-block"; content: Uint8Array; } | { filename: string; entryPoint?: boolean | undefined; mimetype?: string | undefined; type: "uint8-asset-ref"; refId: string; })[]; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.block-begin"; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.error"; error: string; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.block-end"; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.model-resolved"; model: string; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.fs-persisted"; fsRef: (In: { appSlug: string; ownerHandle?: string | undefined; userSlug?: string | undefined; mode: "dev" | "production"; fsId: string; }) => import("arktype").Out<{ appSlug: string; mode: "dev" | "production"; fsId: string; ownerHandle: string; }>; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.system-prompt"; text: string; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.raw"; text: string; } | { streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); type: "prompt.dry-run-payload"; request: { model?: string | undefined; messages: ({ role: "assistant" | "system" | "user"; content: ({ type: "text"; text: string; } | { type: "image_url"; image_url: { url: string; }; } | { type: "vibes_file"; uploadId: string; name: string; mimeType: string; kind: "image" | "text"; originalUploadId?: string | undefined; size?: number | undefined; })[]; } | { role: "assistant"; content: string | null; tool_calls: { id: string; type: "function"; function: { name: string; arguments: string; }; }[]; } | { role: "tool"; content: string; tool_call_id: string; })[]; stream?: boolean | undefined; temperature?: number | undefined; max_tokens?: number | undefined; top_p?: number | undefined; logprobs?: boolean | undefined; top_logsprobs?: number | undefined; frequency_penalty?: number | undefined; presence_penalty?: number | undefined; stop?: string | string[] | undefined; verbosity?: "high" | "low" | "max" | "medium" | undefined; modalities?: string[] | undefined; tools?: { type: "function"; function: { name: string; description?: string | undefined; parameters: unknown; }; }[] | undefined; tool_choice?: "auto" | "none" | "required" | { type: "function"; function: { name: string; }; } | undefined; }; } | { type: "prompt.research"; version: 1; streamId: string; chatId: string; seq: number; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); researchId: string; status: "complete" | "failed" | "partial"; brief: string; sources: { url: string; finalUrl: string | null; contentType: string | null; httpStatus: number | null; backendFetchable: boolean; fetched: boolean; errorCode?: string | undefined; }[]; api: { method: string; path: string; description: string; fields: string[]; }[]; excerpts: { sourceUrl: string; text: string; locator?: string | undefined; }[]; seedRows: { sourceUrl: string; dbName: string; key: string; item: unknown; }[]; completedAt: string; errorCode?: string | undefined; }, {}>; export type PromptMsgs = typeof PromptMsgs.infer; export declare const isPromptMsg: (msg: unknown) => msg is PromptMsgs; export declare function isPromptBlockBegin(msg: unknown): msg is PromptBlockBegin; export { isPromptResearch }; export declare function isPromptBlockEnd(msg: unknown, streamId?: string): msg is PromptBlockEnd;