import type { PluginOption } from 'vite'; export type JsonPrimitive = boolean | number | string | null; export type JsonValue = JsonPrimitive | JsonValue[] | { [key: string]: JsonValue; }; export interface UiContextCaptureIntegration { name: string; clientModule: string; clientOptions?: JsonValue; vitePlugins?: () => PluginOption[] | Promise; }