import * as z from "zod/mini"; import type { CoreCommandEnvelope } from "../core-command-envelope.js"; import { type InternalHostInlineFlowCommandPayload } from "./host-command-payload.js"; /** @internal Command envelope accepted by first-party widget hosts. */ export declare const internalHostCommandEnvelopeSchema: z.ZodMiniObject<{ version: z.ZodMiniLiteral<"1">; instanceId: z.ZodMiniOptional>; requestId: z.ZodMiniString; idempotencyKey: z.ZodMiniString; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; command: z.ZodMiniUnion; flowId: z.ZodMiniString; flowHandleId: z.ZodMiniOptional>; container: z.ZodMiniOptional>; metadata: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniArray>]>>>; }, z.core.$strict>>; containerRequirement: z.ZodMiniOptional>; hideCloseButton: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniTransform<{ kind: "open"; flowId: string; flowHandleId?: string | undefined; container?: HTMLElement | null | undefined; metadata?: { tags?: Record | undefined; } | undefined; hideCloseButton?: boolean | undefined; }, { kind: "open"; flowId: string; flowHandleId?: string | undefined; container?: HTMLElement | null | undefined; metadata?: { tags?: Record | undefined; } | undefined; containerRequirement?: "any" | "hostOnly" | undefined; hideCloseButton?: boolean | undefined; }>>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prefetch">; flowId: z.ZodMiniString; flowHandleId: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prerender">; flowId: z.ZodMiniString; flowHandleId: z.ZodMiniOptional>; hideCloseButton: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"updateHostContext">; context: z.ZodMiniObject<{ url: z.ZodMiniString; env: z.ZodMiniOptional, z.ZodMiniString>>; storage: z.ZodMiniOptional, z.ZodMiniString>>; page: z.ZodMiniOptional>; referrer: z.ZodMiniOptional>; search: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"emitHostSignal">; name: z.ZodMiniString; data: z.ZodMiniOptional; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"setContainer">; flowHandleId: z.ZodMiniString; container: z.ZodMiniCustom; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"setDefaultContainerPolicy">; policy: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"floating">; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"hostContainer">; host: z.ZodMiniCustom; sharing: z.ZodMiniEnum<{ perFlowRun: "perFlowRun"; shared: "shared"; }>; }, z.core.$strict>], "kind">; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"configure">; opts: z.ZodMiniObject<{ colorScheme: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniEnum<{ dark: "dark"; light: "light"; system: "system"; }>]>>; consent: z.ZodMiniOptional, z.ZodMiniArray>]>>; auth: z.ZodMiniOptional; }, z.core.$strip>, z.ZodMiniNull]>>; }, z.core.$strip>>; capabilities: z.ZodMiniOptional, z.ZodMiniObject<{ key: z.ZodMiniString; source: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>]>>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"init">; opts: z.ZodMiniObject<{ apiKey: z.ZodMiniString; colorScheme: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniEnum<{ dark: "dark"; light: "light"; system: "system"; }>]>>; disableTelemetry: z.ZodMiniOptional>; enableDebug: z.ZodMiniOptional, z.ZodMiniString, z.ZodMiniArray>]>>; defaultConsent: z.ZodMiniOptional, z.ZodMiniArray>]>>; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; capabilities: z.ZodMiniOptional>>; flags: z.ZodMiniOptional; target: z.ZodMiniOptional>; value: z.ZodMiniType>; variant: z.ZodMiniOptional>; origin: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; status: z.ZodMiniOptional>; reason: z.ZodMiniOptional>; evaluatedAt: z.ZodMiniOptional>; }, z.core.$strip>>>; hostCapabilities: z.ZodMiniOptional; source: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; hostActions: z.ZodMiniOptional; version: z.ZodMiniNumber; }, z.core.$strict>>>; runtimeEndpoints: z.ZodMiniOptional>; coreUrl: z.ZodMiniOptional>; realtimeUrl: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"close">; flowHandleId: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"reset">; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"instanceFeedback.capture">; payload: z.ZodMiniPipe>>; related: z.ZodMiniOptional; subject: z.ZodMiniPipe; id: z.ZodMiniString; }, z.core.$strict>>; }, z.core.$strict>>>; target: z.ZodMiniOptional; id: z.ZodMiniString; properties: z.ZodMiniOptional>>; references: z.ZodMiniOptional, z.ZodMiniType>>>; }, z.core.$strict>>>; category: z.ZodMiniString; comment: z.ZodMiniOptional>; reasons: z.ZodMiniOptional], z.ZodMiniString>>; value: z.ZodMiniOptional, z.ZodMiniNumber, z.ZodMiniString]>>; }, z.core.$strict>, z.ZodMiniObject<{ properties: z.ZodMiniOptional>>; related: z.ZodMiniOptional; subject: z.ZodMiniPipe; id: z.ZodMiniString; }, z.core.$strict>>; }, z.core.$strict>>>; target: z.ZodMiniOptional; id: z.ZodMiniString; properties: z.ZodMiniOptional>>; references: z.ZodMiniOptional, z.ZodMiniType>>>; }, z.core.$strict>>>; category: z.ZodMiniOptional; comment: z.ZodMiniString; reasons: z.ZodMiniOptional; value: z.ZodMiniOptional; }, z.core.$strict>]>>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"instanceFeedback.listMine">; payload: z.ZodMiniObject<{ selectors: z.ZodMiniArray>; target: z.ZodMiniOptional; id: z.ZodMiniString; }, z.core.$strict>>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strict>, z.ZodMiniObject<{ traits: z.ZodMiniOptional, z.ZodMiniUnknown>>; identities: z.ZodMiniOptional, z.ZodMiniTransform<"anonymousId" | "context.device.advertisingId" | "context.device.id" | "context.device.token" | "traits.email" | "traits.phone" | "userId", string>>; value: z.ZodMiniString; }, z.core.$strip>>>; context: z.ZodMiniOptional>; referrer: z.ZodMiniOptional>; search: z.ZodMiniOptional>; }, z.core.$strip>>; locale: z.ZodMiniOptional>; userAgent: z.ZodMiniOptional>; externalIds: z.ZodMiniOptional, z.ZodMiniTransform>; type: z.ZodMiniString; collection: z.ZodMiniLiteral<"users">; encoding: z.ZodMiniLiteral<"none">; }, z.core.$strip>>>; flags: z.ZodMiniOptional; target: z.ZodMiniOptional>; value: z.ZodMiniType>; variant: z.ZodMiniOptional>; origin: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; status: z.ZodMiniOptional>; reason: z.ZodMiniOptional>; evaluatedAt: z.ZodMiniOptional>; }, z.core.$strip>>>; capabilities: z.ZodMiniOptional; source: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; messageId: z.ZodMiniOptional>; timestamp: z.ZodMiniOptional>; origin: z.ZodMiniLiteral<"customer">; event: z.ZodMiniString; properties: z.ZodMiniOptional, z.ZodMiniType>>>>; type: z.ZodMiniOptional>; kind: z.ZodMiniLiteral<"track">; }, z.core.$strip>], "kind">, z.ZodMiniUnion; traits: z.ZodMiniRecord, z.ZodMiniUnknown>; options: z.ZodMiniOptional, z.ZodMiniTransform>; type: z.ZodMiniString; collection: z.ZodMiniLiteral<"users">; encoding: z.ZodMiniLiteral<"none">; }, z.core.$strip>>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"identify">; userId: z.ZodMiniString; traits: z.ZodMiniOptional, z.ZodMiniUnknown>>; options: z.ZodMiniOptional, z.ZodMiniTransform>; type: z.ZodMiniString; collection: z.ZodMiniLiteral<"users">; encoding: z.ZodMiniLiteral<"none">; }, z.core.$strip>>>; }, z.core.$strict>>; }, z.core.$strict>]>]>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"init">; opts: z.ZodMiniObject<{ registration: z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"supplied-only-local">; profile: z.ZodMiniLiteral<"bundled-docs">; }, z.core.$strict>; colorScheme: z.ZodMiniDefault>; }, z.core.$strict>, z.ZodMiniEnum<{ dark: "dark"; light: "light"; system: "system"; }>]>>>; }, z.core.$strict>; runtimeEndpoints: z.ZodMiniObject<{ coreUrl: z.ZodMiniString; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniUnion; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; metadata: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniArray>]>>>; }, z.core.$strict>>; hideCloseButton: z.ZodMiniOptional>; container: z.ZodMiniOptional; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"open">; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; metadata: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniArray>]>>>; }, z.core.$strict>>; hideCloseButton: z.ZodMiniOptional>; flowHandleId: z.ZodMiniString; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prefetch">; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; flowHandleId: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prerender">; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; flowHandleId: z.ZodMiniOptional>; hideCloseButton: z.ZodMiniOptional>; }, z.core.$strict>]>]>; }, z.core.$strip>; /** @internal First-party host command envelope with a required instance ID. */ export declare const internalHostCommandEnvelopeWithInstanceIdSchema: z.ZodMiniObject<{ version: z.ZodMiniLiteral<"1">; requestId: z.ZodMiniString; idempotencyKey: z.ZodMiniString; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; command: z.ZodMiniUnion; flowId: z.ZodMiniString; flowHandleId: z.ZodMiniOptional>; container: z.ZodMiniOptional>; metadata: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniArray>]>>>; }, z.core.$strict>>; containerRequirement: z.ZodMiniOptional>; hideCloseButton: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniTransform<{ kind: "open"; flowId: string; flowHandleId?: string | undefined; container?: HTMLElement | null | undefined; metadata?: { tags?: Record | undefined; } | undefined; hideCloseButton?: boolean | undefined; }, { kind: "open"; flowId: string; flowHandleId?: string | undefined; container?: HTMLElement | null | undefined; metadata?: { tags?: Record | undefined; } | undefined; containerRequirement?: "any" | "hostOnly" | undefined; hideCloseButton?: boolean | undefined; }>>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prefetch">; flowId: z.ZodMiniString; flowHandleId: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prerender">; flowId: z.ZodMiniString; flowHandleId: z.ZodMiniOptional>; hideCloseButton: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"updateHostContext">; context: z.ZodMiniObject<{ url: z.ZodMiniString; env: z.ZodMiniOptional, z.ZodMiniString>>; storage: z.ZodMiniOptional, z.ZodMiniString>>; page: z.ZodMiniOptional>; referrer: z.ZodMiniOptional>; search: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"emitHostSignal">; name: z.ZodMiniString; data: z.ZodMiniOptional; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"setContainer">; flowHandleId: z.ZodMiniString; container: z.ZodMiniCustom; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"setDefaultContainerPolicy">; policy: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"floating">; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"hostContainer">; host: z.ZodMiniCustom; sharing: z.ZodMiniEnum<{ perFlowRun: "perFlowRun"; shared: "shared"; }>; }, z.core.$strict>], "kind">; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"configure">; opts: z.ZodMiniObject<{ colorScheme: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniEnum<{ dark: "dark"; light: "light"; system: "system"; }>]>>; consent: z.ZodMiniOptional, z.ZodMiniArray>]>>; auth: z.ZodMiniOptional; }, z.core.$strip>, z.ZodMiniNull]>>; }, z.core.$strip>>; capabilities: z.ZodMiniOptional, z.ZodMiniObject<{ key: z.ZodMiniString; source: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>]>>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"init">; opts: z.ZodMiniObject<{ apiKey: z.ZodMiniString; colorScheme: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniEnum<{ dark: "dark"; light: "light"; system: "system"; }>]>>; disableTelemetry: z.ZodMiniOptional>; enableDebug: z.ZodMiniOptional, z.ZodMiniString, z.ZodMiniArray>]>>; defaultConsent: z.ZodMiniOptional, z.ZodMiniArray>]>>; clientMeta: z.ZodMiniOptional; clientName: z.ZodMiniOptional>; clientVersion: z.ZodMiniOptional>; protocolCapabilities: z.ZodMiniOptional>>; integrator: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>>; transport: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; runtime: z.ZodMiniOptional>; }, z.core.$strip>>; notes: z.ZodMiniOptional>; }, z.core.$strip>>; capabilities: z.ZodMiniOptional>>; flags: z.ZodMiniOptional; target: z.ZodMiniOptional>; value: z.ZodMiniType>; variant: z.ZodMiniOptional>; origin: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; status: z.ZodMiniOptional>; reason: z.ZodMiniOptional>; evaluatedAt: z.ZodMiniOptional>; }, z.core.$strip>>>; hostCapabilities: z.ZodMiniOptional; source: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; hostActions: z.ZodMiniOptional; version: z.ZodMiniNumber; }, z.core.$strict>>>; runtimeEndpoints: z.ZodMiniOptional>; coreUrl: z.ZodMiniOptional>; realtimeUrl: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"close">; flowHandleId: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"reset">; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"instanceFeedback.capture">; payload: z.ZodMiniPipe>>; related: z.ZodMiniOptional; subject: z.ZodMiniPipe; id: z.ZodMiniString; }, z.core.$strict>>; }, z.core.$strict>>>; target: z.ZodMiniOptional; id: z.ZodMiniString; properties: z.ZodMiniOptional>>; references: z.ZodMiniOptional, z.ZodMiniType>>>; }, z.core.$strict>>>; category: z.ZodMiniString; comment: z.ZodMiniOptional>; reasons: z.ZodMiniOptional], z.ZodMiniString>>; value: z.ZodMiniOptional, z.ZodMiniNumber, z.ZodMiniString]>>; }, z.core.$strict>, z.ZodMiniObject<{ properties: z.ZodMiniOptional>>; related: z.ZodMiniOptional; subject: z.ZodMiniPipe; id: z.ZodMiniString; }, z.core.$strict>>; }, z.core.$strict>>>; target: z.ZodMiniOptional; id: z.ZodMiniString; properties: z.ZodMiniOptional>>; references: z.ZodMiniOptional, z.ZodMiniType>>>; }, z.core.$strict>>>; category: z.ZodMiniOptional; comment: z.ZodMiniString; reasons: z.ZodMiniOptional; value: z.ZodMiniOptional; }, z.core.$strict>]>>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"instanceFeedback.listMine">; payload: z.ZodMiniObject<{ selectors: z.ZodMiniArray>; target: z.ZodMiniOptional; id: z.ZodMiniString; }, z.core.$strict>>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strict>, z.ZodMiniObject<{ traits: z.ZodMiniOptional, z.ZodMiniUnknown>>; identities: z.ZodMiniOptional, z.ZodMiniTransform<"anonymousId" | "context.device.advertisingId" | "context.device.id" | "context.device.token" | "traits.email" | "traits.phone" | "userId", string>>; value: z.ZodMiniString; }, z.core.$strip>>>; context: z.ZodMiniOptional>; referrer: z.ZodMiniOptional>; search: z.ZodMiniOptional>; }, z.core.$strip>>; locale: z.ZodMiniOptional>; userAgent: z.ZodMiniOptional>; externalIds: z.ZodMiniOptional, z.ZodMiniTransform>; type: z.ZodMiniString; collection: z.ZodMiniLiteral<"users">; encoding: z.ZodMiniLiteral<"none">; }, z.core.$strip>>>; flags: z.ZodMiniOptional; target: z.ZodMiniOptional>; value: z.ZodMiniType>; variant: z.ZodMiniOptional>; origin: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; status: z.ZodMiniOptional>; reason: z.ZodMiniOptional>; evaluatedAt: z.ZodMiniOptional>; }, z.core.$strip>>>; capabilities: z.ZodMiniOptional; source: z.ZodMiniOptional>; provider: z.ZodMiniOptional; project: z.ZodMiniOptional>; environment: z.ZodMiniOptional>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; messageId: z.ZodMiniOptional>; timestamp: z.ZodMiniOptional>; origin: z.ZodMiniLiteral<"customer">; event: z.ZodMiniString; properties: z.ZodMiniOptional, z.ZodMiniType>>>>; type: z.ZodMiniOptional>; kind: z.ZodMiniLiteral<"track">; }, z.core.$strip>], "kind">, z.ZodMiniUnion; traits: z.ZodMiniRecord, z.ZodMiniUnknown>; options: z.ZodMiniOptional, z.ZodMiniTransform>; type: z.ZodMiniString; collection: z.ZodMiniLiteral<"users">; encoding: z.ZodMiniLiteral<"none">; }, z.core.$strip>>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"identify">; userId: z.ZodMiniString; traits: z.ZodMiniOptional, z.ZodMiniUnknown>>; options: z.ZodMiniOptional, z.ZodMiniTransform>; type: z.ZodMiniString; collection: z.ZodMiniLiteral<"users">; encoding: z.ZodMiniLiteral<"none">; }, z.core.$strip>>>; }, z.core.$strict>>; }, z.core.$strict>]>]>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"init">; opts: z.ZodMiniObject<{ registration: z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"supplied-only-local">; profile: z.ZodMiniLiteral<"bundled-docs">; }, z.core.$strict>; colorScheme: z.ZodMiniDefault>; }, z.core.$strict>, z.ZodMiniEnum<{ dark: "dark"; light: "light"; system: "system"; }>]>>>; }, z.core.$strict>; runtimeEndpoints: z.ZodMiniObject<{ coreUrl: z.ZodMiniString; }, z.core.$strict>; }, z.core.$strict>, z.ZodMiniUnion; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; metadata: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniArray>]>>>; }, z.core.$strict>>; hideCloseButton: z.ZodMiniOptional>; container: z.ZodMiniOptional; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"open">; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; metadata: z.ZodMiniOptional, z.ZodMiniUnion, z.ZodMiniArray>]>>>; }, z.core.$strict>>; hideCloseButton: z.ZodMiniOptional>; flowHandleId: z.ZodMiniString; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prefetch">; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; flowHandleId: z.ZodMiniOptional>; }, z.core.$strict>, z.ZodMiniObject<{ kind: z.ZodMiniLiteral<"prerender">; flow: z.ZodMiniObject<{ definition: z.ZodMiniUnknown; theme: z.ZodMiniOptional>; themeRuntimeArtifactId: z.ZodMiniOptional>; themeVersionId: z.ZodMiniOptional>; }, z.core.$strict>>; }, z.core.$strict>; flowHandleId: z.ZodMiniOptional>; hideCloseButton: z.ZodMiniOptional>; }, z.core.$strict>]>]>; instanceId: z.ZodMiniString; }, z.core.$strip>; /** @internal Command envelope accepted by first-party widget hosts. */ export type InternalHostCommandEnvelope = z.output; /** @internal First-party host command envelope with a required instance ID. */ export type InternalHostCommandEnvelopeWithInstanceId = z.output; /** @internal Supplied-flow host envelope before host-only fields are removed. */ export type InternalHostInlineFlowCommandEnvelopeWithInstanceId = Omit & { command: InternalHostInlineFlowCommandPayload; }; /** @internal Loader dispatch accepts Core-ready or host-projected commands. */ export type InternalHostDispatchEnvelopeWithInstanceId = CoreCommandEnvelope | InternalHostInlineFlowCommandEnvelopeWithInstanceId; /** Remove browser-host projection data before dispatching to Core. */ export declare const toCoreInlineFlowCommandEnvelope: (envelope: InternalHostInlineFlowCommandEnvelopeWithInstanceId) => CoreCommandEnvelope; //# sourceMappingURL=host-command-envelope.d.ts.map