import * as zod from 'zod'; import { S as ServerImplementation, w as whopServerSchema, C as ClientSDK } from './whop-server-C8VW_ubw.mjs'; /** * Create an iframe SDK for the container whop.com app. * This will implement the functions required by client apps. * Do not use this function when building apps */ declare function createSdkHost({ appId, onMessage, remoteWindow, remoteOrigin, }: { appId: string; remoteWindow: Window; remoteOrigin: string; onMessage: ServerImplementation; isDevelopment?: boolean; }): ClientSDK; request: zod.ZodLiteral<"app_ping">; response: zod.ZodLiteral<"app_pong">; }, "strip", zod.ZodTypeAny, { event: "appPing"; request: "app_ping"; response: "app_pong"; }, { event: "appPing"; request: "app_ping"; response: "app_pong"; }>, zod.ZodObject<{ event: zod.ZodLiteral<"onColorThemeChange">; request: zod.ZodObject<{ appearance: zod.ZodOptional>; accentColor: zod.ZodOptional; dangerColor: zod.ZodOptional; grayColor: zod.ZodOptional; infoColor: zod.ZodOptional; successColor: zod.ZodOptional; warningColor: zod.ZodOptional; }, "strip", zod.ZodTypeAny, { appearance?: "light" | "dark" | undefined; accentColor?: string | undefined; dangerColor?: string | undefined; grayColor?: string | undefined; infoColor?: string | undefined; successColor?: string | undefined; warningColor?: string | undefined; }, { appearance?: "light" | "dark" | undefined; accentColor?: string | undefined; dangerColor?: string | undefined; grayColor?: string | undefined; infoColor?: string | undefined; successColor?: string | undefined; warningColor?: string | undefined; }>; response: zod.ZodVoid; }, "strip", zod.ZodTypeAny, { event: "onColorThemeChange"; request: { appearance?: "light" | "dark" | undefined; accentColor?: string | undefined; dangerColor?: string | undefined; grayColor?: string | undefined; infoColor?: string | undefined; successColor?: string | undefined; warningColor?: string | undefined; }; response?: void | undefined; }, { event: "onColorThemeChange"; request: { appearance?: "light" | "dark" | undefined; accentColor?: string | undefined; dangerColor?: string | undefined; grayColor?: string | undefined; infoColor?: string | undefined; successColor?: string | undefined; warningColor?: string | undefined; }; response?: void | undefined; }>, zod.ZodObject<{ event: zod.ZodLiteral<"navigateBack">; request: zod.ZodVoid; response: zod.ZodLiteral<"ok">; }, "strip", zod.ZodTypeAny, { event: "navigateBack"; response: "ok"; request?: void | undefined; }, { event: "navigateBack"; response: "ok"; request?: void | undefined; }>, zod.ZodObject<{ event: zod.ZodLiteral<"navigateForward">; request: zod.ZodVoid; response: zod.ZodLiteral<"ok">; }, "strip", zod.ZodTypeAny, { event: "navigateForward"; response: "ok"; request?: void | undefined; }, { event: "navigateForward"; response: "ok"; request?: void | undefined; }>]>, false> & { _cleanupTransport: () => void; }; export { createSdkHost };