hunk.code_window: export type UiConfig = {
     hideEventTypeDetails?: boolean;
     theme?: Theme | "auto";
     styles?: EmbedStyles & EmbedNonStylesConfig;
     //TODO: Extract from tailwind the list of all custom variables and support them in auto-completion as well as runtime validation. Followup with listing all variables in Embed Snippet Generator UI.
     cssVarsPerTheme?: Record<Theme, Record<string, string>>;
   };
  
hunk.labels: keep keep replace keep keep keep keep keep
hunk.after_edit:   theme?: EmbedThemeConfig;
  
hunk.file_path: packages/embeds/embed-core/src/embed-iframe.ts
hunk.type: replace
file: import type { NextApiRequest, NextApiResponse } from "next";
  import * as pjson from "package.json";
  
  type Response = {
    version: string;
  };
  
  export default async function handler(req: NextApiRequest, res: NextApiResponse<Response>): Promise<void> {
    return res.status(200).json({ version: pjson.version });
  }
  