import * as z from "zod/mini"; import { type ConfigureOptions, type InitOptions } from "./widget-config.js"; export declare const publicWidgetCommandKindSchema: z.ZodMiniEnum<{ close: "close"; configure: "configure"; emitHostSignal: "emitHostSignal"; identify: "identify"; init: "init"; "instanceFeedback.capture": "instanceFeedback.capture"; "instanceFeedback.listMine": "instanceFeedback.listMine"; open: "open"; prefetch: "prefetch"; prerender: "prerender"; reset: "reset"; setContainer: "setContainer"; setDefaultContainerPolicy: "setDefaultContainerPolicy"; track: "track"; updateHostContext: "updateHostContext"; }>; export declare const containerPolicySchema: 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">; export declare const publicCommandPayloadSchema: 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>]>]>; export type PublicCommandPayload = z.output; export type ContainerPolicy = z.output; export declare function parseInitOptions(input: unknown): InitOptions; export declare function parseConfigureOptions(input: unknown): ConfigureOptions; export declare function parsePublicCommand(input: unknown): PublicCommandPayload; //# sourceMappingURL=widget-commands.d.ts.map