import { z } from "zod";

//#region src/bridge/protocol.d.ts

/**
 * Runtime facts about where the module is rendered, owned by the host and not
 * derivable by the module itself. Distinct from `data`, which is the module's
 * persisted config.
 */
declare const remoteModuleContextSchema: z.ZodObject<{
  layoutType: z.ZodType<"account" | "case" | "transaction" | (string & {}), unknown, z.core.$ZodTypeInternals<"account" | "case" | "transaction" | (string & {}), unknown>>;
  layoutObjectId: z.ZodNullable<z.ZodString>;
  isReadOnly: z.ZodBoolean;
  isInEditor: z.ZodBoolean;
  isUsingStubData: z.ZodBoolean;
  dynamicHeight: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
type RemoteModuleContext = z.infer<typeof remoteModuleContextSchema>;
//#endregion
export { RemoteModuleContext as t };