import { type AppId, type IsoDateTime } from "@vendoai/core"; import { type AppDocument } from "../../contract/index.js"; import { z } from "zod"; /** 06-apps §1 — frozen copy created by Vendo Cloud sharing. */ export interface ShareSnapshot { id: string; doc: AppDocument; createdAt: IsoDateTime; } /** 06-apps §1 — validated wire representation of a frozen share copy. */ export declare const shareSnapshotSchema: z.ZodObject<{ id: z.ZodString; doc: z.ZodObject<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; createdAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; doc: z.ZodObject<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; createdAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; doc: z.ZodObject<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ format: z.ZodLiteral<"vendo/app@1">; id: z.ZodString; name: z.ZodString; description: z.ZodOptional; ui: z.ZodOptional>; components: z.ZodOptional>>; componentTools: z.ZodOptional>>; source: z.ZodOptional; blobRef: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ hash: z.ZodString; bytes: z.ZodNumber; text: z.ZodOptional; blobRef: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>>; bundle: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ entry: z.ZodString; assets: z.ZodOptional>; bytes: z.ZodNumber; sealedAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; automations: z.ZodOptional>; egress: z.ZodOptional>; egressApproved: z.ZodOptional>; secrets: z.ZodOptional>; seed: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, { wishes: string[]; component: string; baseline: string; port?: string | undefined; unapplied?: string[] | undefined; props?: Record | undefined; slot?: string | undefined; }, z.objectInputType<{ component: z.ZodString; baseline: z.ZodString; wishes: z.ZodOptional>; instruction: z.ZodOptional; port: z.ZodOptional; unapplied: z.ZodOptional>; props: z.ZodOptional>; slot: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; forkedFrom: z.ZodOptional; buildFailed: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ reason: z.ZodString; retryable: z.ZodOptional; at: z.ZodString; prompt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; building: z.ZodOptional; buildStatus: z.ZodOptional; proposal: z.ZodOptional, z.objectInputType<{ approvalId: z.ZodString; prompt: z.ZodString; why: z.ZodString; at: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; memory: z.ZodOptional; decisions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ asks: z.ZodArray; decisions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; createdAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>; /** 06-apps §1 — registry record for a published app copy. */ export interface PublishRecord { id: string; appId: AppId; version: string; createdAt: IsoDateTime; } /** 06-apps §1 — validated wire representation of a publish record. */ export declare const publishRecordSchema: z.ZodObject<{ id: z.ZodString; appId: z.ZodString; version: z.ZodString; createdAt: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; appId: z.ZodString; version: z.ZodString; createdAt: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; appId: z.ZodString; version: z.ZodString; createdAt: z.ZodString; }, z.ZodTypeAny, "passthrough">>; /** ADAPTER RULE (see selectConnections in the umbrella's server.ts): the apps * block defines the share/publish seam; which implementation composes is * decided at the createVendo composition seam — never by a key-conditional * inside this block, which reads no environment. The umbrella wires the Cloud * console client here when VENDO_API_KEY fills the unset slot; an unfilled * seam fails honestly with VendoError("cloud-required"). */ export interface CloudAppsClient { share(appId: AppId, doc: AppDocument): Promise; publish(appId: AppId, doc: AppDocument): Promise; } //# sourceMappingURL=cloud.d.ts.map