@sampleapp.ai/sdk 1.0.29 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/dist/components/guardian/app-layout-no-sidebar.js +8 -0
  2. package/dist/components/guardian/ask-ai-view.js +249 -0
  3. package/dist/components/guardian/code-focus-section.d.ts +41 -0
  4. package/dist/components/guardian/code-focus-section.js +174 -0
  5. package/dist/components/guardian/context/guardian-context.js +94 -0
  6. package/dist/components/guardian/context/vm-context.js +28 -0
  7. package/dist/components/guardian/default-guide-view.js +34 -0
  8. package/dist/components/guardian/demo/guardian-demo.js +35 -0
  9. package/dist/components/guardian/demo/left-view/toggle.js +28 -0
  10. package/dist/components/guardian/demo/left-view.js +49 -0
  11. package/dist/components/guardian/guardian-component.js +79 -0
  12. package/dist/components/guardian/guardian-demo.js +35 -0
  13. package/dist/components/guardian/guardian-home.d.ts +4 -0
  14. package/dist/components/guardian/guardian-home.js +61 -0
  15. package/dist/components/guardian/guardian-playground.js +45 -0
  16. package/dist/components/guardian/guardian-style-wrapper.js +29 -0
  17. package/dist/components/guardian/guardian-upload-spec.d.ts +14 -0
  18. package/dist/components/guardian/guardian-upload-spec.js +160 -0
  19. package/dist/components/guardian/header/glassmorphic-combobox.d.ts +15 -0
  20. package/dist/components/guardian/header/glassmorphic-combobox.js +30 -0
  21. package/dist/components/guardian/header.js +61 -0
  22. package/dist/components/guardian/hooks/use-frame-messages.js +65 -0
  23. package/dist/components/guardian/hooks/use-frame-params.js +44 -0
  24. package/dist/components/guardian/hooks/use-sandbox-url-loader.js +101 -0
  25. package/dist/components/guardian/ide/browser.js +538 -0
  26. package/dist/components/guardian/index.js +8 -0
  27. package/dist/components/guardian/layout/app-layout-no-sidebar.js +8 -0
  28. package/dist/components/guardian/layout/header/glassmorphic-combobox.js +48 -0
  29. package/dist/components/guardian/layout/header.js +63 -0
  30. package/dist/components/guardian/right-view/code-view.js +56 -0
  31. package/dist/components/guardian/right-view/pill-file-selector.js +233 -0
  32. package/dist/components/guardian/right-view/preview-control-bar.js +25 -0
  33. package/dist/components/guardian/right-view/right-panel-view.js +38 -0
  34. package/dist/components/guardian/right-view/right-top-down-view.js +289 -0
  35. package/dist/components/guardian/right-view/right-view.js +28 -0
  36. package/dist/components/guardian/right-view/simplified-editor.js +234 -0
  37. package/dist/components/guardian/types/ide-types.js +162 -0
  38. package/dist/components/guardian/types.js +3 -0
  39. package/dist/components/guardian/ui/ai-loader.js +48 -0
  40. package/dist/components/guardian/ui/badge.js +24 -0
  41. package/dist/components/guardian/ui/button.js +45 -0
  42. package/dist/components/guardian/ui/command.js +63 -0
  43. package/dist/components/guardian/ui/console-with-app.js +17 -0
  44. package/dist/components/guardian/ui/dialog.js +57 -0
  45. package/dist/components/guardian/ui/dropdown-menu.js +82 -0
  46. package/dist/components/guardian/ui/markdown.js +57 -0
  47. package/dist/components/guardian/ui/popover.js +25 -0
  48. package/dist/components/guardian/ui/tooltip.js +25 -0
  49. package/dist/components/guardian/utils.js +88 -0
  50. package/dist/components/guardian/zip-to-codebase.js +246 -0
  51. package/dist/components/guardian/zip-to-filetree.js +284 -0
  52. package/dist/components/icons.js +22 -0
  53. package/dist/components/sandbox/Sandbox.js +87 -0
  54. package/dist/components/sandbox/SandboxHome.js +141 -0
  55. package/dist/components/sandbox/api.js +108 -0
  56. package/dist/components/sandbox/guardian/app-layout-no-sidebar.js +8 -0
  57. package/dist/components/sandbox/guardian/ask-ai-view.js +249 -0
  58. package/dist/components/sandbox/guardian/code-focus-section.js +174 -0
  59. package/dist/components/sandbox/guardian/context/guardian-context.js +94 -0
  60. package/dist/components/sandbox/guardian/context/vm-context.js +28 -0
  61. package/dist/components/sandbox/guardian/default-guide-view.js +34 -0
  62. package/dist/components/sandbox/guardian/demo/guardian-demo.js +35 -0
  63. package/dist/components/sandbox/guardian/demo/left-view/toggle.js +28 -0
  64. package/dist/components/sandbox/guardian/demo/left-view.js +58 -0
  65. package/dist/components/sandbox/guardian/guardian-component.js +97 -0
  66. package/dist/components/sandbox/guardian/guardian-demo.js +35 -0
  67. package/dist/components/sandbox/guardian/guardian-home.d.ts +4 -0
  68. package/dist/components/sandbox/guardian/guardian-home.js +61 -0
  69. package/dist/components/sandbox/guardian/guardian-playground.js +45 -0
  70. package/dist/components/sandbox/guardian/guardian-style-wrapper.js +33 -0
  71. package/dist/components/sandbox/guardian/guardian-upload-spec.d.ts +14 -0
  72. package/dist/components/sandbox/guardian/guardian-upload-spec.js +160 -0
  73. package/dist/components/sandbox/guardian/header/glassmorphic-combobox.js +30 -0
  74. package/dist/components/sandbox/guardian/header.js +61 -0
  75. package/dist/components/sandbox/guardian/hooks/use-frame-messages.js +65 -0
  76. package/dist/components/sandbox/guardian/hooks/use-frame-params.js +44 -0
  77. package/dist/components/sandbox/guardian/hooks/use-sandbox-url-loader.js +145 -0
  78. package/dist/components/sandbox/guardian/ide/browser.js +538 -0
  79. package/dist/components/sandbox/guardian/index.js +8 -0
  80. package/dist/components/sandbox/guardian/right-view/code-view.js +60 -0
  81. package/dist/components/sandbox/guardian/right-view/pill-file-selector.js +233 -0
  82. package/dist/components/sandbox/guardian/right-view/preview-control-bar.js +25 -0
  83. package/dist/components/sandbox/guardian/right-view/right-panel-view.js +38 -0
  84. package/dist/components/sandbox/guardian/right-view/right-top-down-view.js +289 -0
  85. package/dist/components/sandbox/guardian/right-view/right-view.js +28 -0
  86. package/dist/components/sandbox/guardian/right-view/simplified-editor.js +234 -0
  87. package/dist/components/sandbox/guardian/types/ide-types.js +162 -0
  88. package/dist/components/sandbox/guardian/types.js +3 -0
  89. package/dist/components/sandbox/guardian/ui/ai-loader.js +48 -0
  90. package/dist/components/sandbox/guardian/ui/badge.js +24 -0
  91. package/dist/components/sandbox/guardian/ui/button.js +45 -0
  92. package/dist/components/sandbox/guardian/ui/command.js +63 -0
  93. package/dist/components/sandbox/guardian/ui/console-with-app.js +17 -0
  94. package/dist/components/sandbox/guardian/ui/dialog.js +57 -0
  95. package/dist/components/sandbox/guardian/ui/dropdown-menu.js +82 -0
  96. package/dist/components/sandbox/guardian/ui/markdown/accordion-group/accordion.js +62 -0
  97. package/dist/components/sandbox/guardian/ui/markdown/accordion-group.js +23 -0
  98. package/dist/components/sandbox/guardian/ui/markdown/callout/callout-check.js +4 -0
  99. package/dist/components/sandbox/guardian/ui/markdown/callout/callout-error.js +4 -0
  100. package/dist/components/sandbox/guardian/ui/markdown/callout/callout-info.js +4 -0
  101. package/dist/components/sandbox/guardian/ui/markdown/callout/callout-note.js +4 -0
  102. package/dist/components/sandbox/guardian/ui/markdown/callout/callout-tip.js +4 -0
  103. package/dist/components/sandbox/guardian/ui/markdown/callout/callout-warning.js +4 -0
  104. package/dist/components/sandbox/guardian/ui/markdown/callout/shared/callout.js +9 -0
  105. package/dist/components/sandbox/guardian/ui/markdown/callout/shared/types.js +1 -0
  106. package/dist/components/sandbox/guardian/ui/markdown/card-group/card.js +18 -0
  107. package/dist/components/sandbox/guardian/ui/markdown/card-group.js +25 -0
  108. package/dist/components/sandbox/guardian/ui/markdown/code-group/code-block.js +87 -0
  109. package/dist/components/sandbox/guardian/ui/markdown/code-group.js +101 -0
  110. package/dist/components/sandbox/guardian/ui/markdown/icon.js +31 -0
  111. package/dist/components/sandbox/guardian/ui/markdown.js +786 -0
  112. package/dist/components/sandbox/guardian/ui/popover.js +25 -0
  113. package/dist/components/sandbox/guardian/ui/tooltip.js +25 -0
  114. package/dist/components/sandbox/guardian/utils.js +88 -0
  115. package/dist/components/sandbox/guardian/zip-to-codebase.js +259 -0
  116. package/dist/components/sandbox/guardian/zip-to-filetree.js +284 -0
  117. package/dist/components/sandbox/index.js +4 -0
  118. package/dist/components/sandbox/sandbox-control-bar.js +91 -0
  119. package/dist/components/sandbox/sandbox-header.js +52 -0
  120. package/dist/components/sandbox/sandbox-home/SandboxCard.js +59 -0
  121. package/dist/components/sandbox/sandbox-home/SandboxHome.js +174 -0
  122. package/dist/components/sandbox/sandbox-home/SearchBar.js +12 -0
  123. package/dist/components/sandbox/sandbox-home/index.js +3 -0
  124. package/dist/components/sandbox/sandbox-left-panel.js +248 -0
  125. package/dist/components/sandbox/sandbox-loading.js +48 -0
  126. package/dist/components/sandbox/sandbox-right-panel.js +247 -0
  127. package/dist/components/sandbox/types.js +1 -0
  128. package/dist/components/sandbox.js +32 -0
  129. package/dist/components/tailwind-example.js +46 -0
  130. package/dist/index.d.ts +336 -1
  131. package/dist/index.es.js +90131 -421
  132. package/dist/index.js +13 -2
  133. package/dist/index.standalone.js +61 -53
  134. package/dist/index.standalone.umd.js +17 -24
  135. package/dist/lib/api-client.example.js +60 -0
  136. package/dist/lib/api-client.js +98 -0
  137. package/dist/lib/generated-css.js +4 -0
  138. package/dist/lib/inject-styles.js +42 -0
  139. package/dist/lib/shadow-dom-wrapper.js +42 -0
  140. package/dist/lib/utils.js +5 -0
  141. package/dist/sdk.css +1 -1
  142. package/dist/tailwind.css +1 -0
  143. package/package.json +32 -5
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import { default as default_2 } from 'react';
2
+ import * as React_2 from 'react';
3
+ import { ReactNode } from 'react';
2
4
 
3
5
  export declare interface AiChatSettings {
4
6
  aiAssistantAvatar?: string;
@@ -13,7 +15,34 @@ export declare interface BaseSettings {
13
15
  [key: string]: any;
14
16
  }
15
17
 
16
- export declare const ChatBar: ({ placeholder, onSubmit, playgroundUid, isSubmitting, typingTexts, shouldFocusOnMount, showModelSelector, projectUid, theme, height, deepgramApiKey, }: ChatBarProps) => default_2.JSX.Element;
18
+ /**
19
+ * Builds a nested GuardianConfig from use cases with nested frameworks.
20
+ * Returns a structure where config[useCaseId].frameworks[frameworkKey] gives you the full config.
21
+ *
22
+ * @example
23
+ * const config = buildGuardianConfig(USE_CASES, options);
24
+ * // Access via: config["full-stack-auth"].frameworks["nextjs"]
25
+ */
26
+ export declare function buildGuardianConfig(useCases: GuardianUseCase[], options: BuildGuardianConfigOptions): GuardianNestedConfig;
27
+
28
+ /**
29
+ * Options for building a Guardian config from use cases.
30
+ */
31
+ export declare interface BuildGuardianConfigOptions {
32
+ /** Playground unique identifier */
33
+ playgroundUid: string;
34
+ /** Playground logo component */
35
+ playgroundLogo: ReactNode;
36
+ /**
37
+ * Optional map of framework keys to human-readable labels.
38
+ * If not provided, the shared FrameworkLabel map is used.
39
+ */
40
+ frameworkLabels?: Partial<Record<Framework, string>>;
41
+ /** Optional variant (defaults to undefined) */
42
+ variant?: GuardianComponentProps["variant"];
43
+ }
44
+
45
+ export declare const ChatBar: React_2.FC<ChatBarProps>;
17
46
 
18
47
  export declare interface ChatBarProps {
19
48
  playgroundUid: string;
@@ -38,10 +67,239 @@ declare interface ChatButtonProps {
38
67
  onClick?: () => void;
39
68
  }
40
69
 
70
+ declare enum CodeLanguage {
71
+ JAVASCRIPT = "javascript",
72
+ TYPESCRIPT = "typescript",
73
+ HTML = "html",
74
+ CSS = "css",
75
+ SCSS = "scss",
76
+ MARKDOWN = "markdown",
77
+ TOML = "toml",
78
+ C = "c",
79
+ DOCKERFILE = "dockerfile",
80
+ PYTHON = "python",
81
+ JAVA = "java",
82
+ CSHARP = "csharp",
83
+ CPP = "cpp",
84
+ RUBY = "ruby",
85
+ GO = "go",
86
+ RUST = "rust",
87
+ SWIFT = "swift",
88
+ KOTLIN = "kotlin",
89
+ PHP = "php",
90
+ BASH = "bash",
91
+ POWERSHELL = "powershell",
92
+ SQL = "sql",
93
+ PLSQL = "plsql",
94
+ XML = "xml",
95
+ YAML = "yaml",
96
+ R = "r",
97
+ SCALA = "scala",
98
+ PERL = "perl",
99
+ HASKELL = "haskell",
100
+ MATLAB = "matlab",
101
+ ASSEMBLY = "assembly",
102
+ DART = "dart",
103
+ ELIXIR = "elixir",
104
+ LUA = "lua",
105
+ OBJECTIVEC = "objectivec",
106
+ TEXT = "text",
107
+ JSON = "json"
108
+ }
109
+
110
+ declare interface CodeOutput {
111
+ response_type: "CodeOutput";
112
+ file_path: string;
113
+ code_file_name: string;
114
+ code_language: CodeLanguage;
115
+ dependencies_to_install: string[];
116
+ framework: string | null;
117
+ full_code: string;
118
+ }
119
+
120
+ /**
121
+ * Creates sandbox URL configs for preloading from a framework's urlsToPreload.
122
+ * Only includes URLs that need VM preloading (useVm: true).
123
+ * Uses the same sandboxUid for all configs since caching is done by sandboxUid + browserUrl.
124
+ */
125
+ export declare function createSandboxUrlConfigs(sandboxUid: string, urlsToPreload?: UrlToPreload[]): SandboxUrlConfig[];
126
+
41
127
  export declare const DEFAULT_THEME: ThemeName;
42
128
 
129
+ export declare enum Framework {
130
+ FLASK = "flask",
131
+ EXPRESS = "express",
132
+ NEXTJS_YARN = "nextjsy",
133
+ VITE = "vite",
134
+ NEXTJS = "nextjs",
135
+ FASTAPI = "fastapi",
136
+ FASTMCP = "fastmcp"
137
+ }
138
+
43
139
  export declare const getTheme: (themeName?: ThemeName) => ThemeColors;
44
140
 
141
+ export declare function GuardianComponent({ demoOptions, frameworkOptions, firstFrameworkByUseCase, currentFramework, currentUseCase, CustomConsole, GuideView, playgroundLogo, playgroundUid, browserUrl, useVm, sandboxUid, codeZipFile, consoleUrlConfigs, completeCodeZipFile, variant, themeColor, hasPreview, isFrame, apiKey, env, chatUid, }: GuardianComponentProps): default_2.JSX.Element;
142
+
143
+ export declare interface GuardianComponentProps {
144
+ name: string;
145
+ description: string;
146
+ demoOptions: {
147
+ label: string;
148
+ value: string;
149
+ }[];
150
+ frameworkOptions: {
151
+ label: string;
152
+ value: string;
153
+ }[];
154
+ CustomConsole: default_2.ComponentType<{
155
+ onReloadPreview: () => void;
156
+ onStageChange: (stage: "hidden" | "error" | "rebuilding") => void;
157
+ themeColor: string;
158
+ }> | string;
159
+ /** Maps use case ID to first available framework key */
160
+ firstFrameworkByUseCase?: Record<string, string>;
161
+ /** The current framework key for this sandbox */
162
+ currentFramework: string;
163
+ /** The current use case ID (for nested config navigation) */
164
+ currentUseCase?: string;
165
+ GuideView?: default_2.ComponentType | string;
166
+ playgroundLogo: default_2.ReactNode;
167
+ playgroundUid: string;
168
+ browserUrl: string;
169
+ useVm: boolean;
170
+ sandboxUid: string;
171
+ codeZipFile: string | UpdateContainerCodebaseType;
172
+ /**
173
+ * Optional console URL configs to preload.
174
+ * These are URLs used in the CustomConsole component.
175
+ */
176
+ completeCodeZipFile: string;
177
+ consoleUrlConfigs?: SandboxUrlConfig[];
178
+ variant?: "panel" | "top-down";
179
+ /**
180
+ * Hex color (e.g. "#3b82f6") used to theme Guardian UI elements.
181
+ */
182
+ themeColor: string;
183
+ /**
184
+ * Whether there is a preview available for the sandbox
185
+ */
186
+ hasPreview?: boolean;
187
+ /**
188
+ * Whether to render in frame mode (just the right view, no console/header)
189
+ */
190
+ isFrame?: boolean;
191
+ /** API key for starting sandbox */
192
+ apiKey?: string;
193
+ /** Environment variables for sandbox */
194
+ env?: Record<string, string>;
195
+ /** Chat UID for starting sandbox */
196
+ chatUid?: string;
197
+ }
198
+
199
+ /**
200
+ * Represents a single framework variant within a use case.
201
+ * Only contains the fields that differ per framework.
202
+ */
203
+ export declare interface GuardianFramework {
204
+ /** Framework identifier key (e.g., "nextjs", "express", "fastapi") */
205
+ key: Framework;
206
+ /** Live browser URL for this framework variant */
207
+ browserUrl: string;
208
+ /** Unique sandbox identifier for this framework variant */
209
+ sandboxUid: string;
210
+ /** Path to the code zip file OR generated_code object (backward compatible) */
211
+ codeZipFile: string | UpdateContainerCodebaseType;
212
+ /** Download endpoint URL for the complete code zip file (e.g., `${baseUrl}/fileshare?container_id=${containerId}`) */
213
+ completeCodeZipFile: string;
214
+ /** Whether to use VM for this framework */
215
+ useVm: boolean;
216
+ /** Custom console component/string for this framework */
217
+ CustomConsole: GuardianComponentProps["CustomConsole"];
218
+ /** Optional custom guide view for this framework */
219
+ GuideView?: GuardianComponentProps["GuideView"];
220
+ /** Optional theme color override for this framework */
221
+ themeColor?: string;
222
+ /** Optional URLs to preload for this specific framework */
223
+ urlsToPreload?: UrlToPreload[];
224
+ }
225
+
226
+ /**
227
+ * Individual framework configuration within a use case
228
+ */
229
+ declare interface GuardianFrameworkConfig extends GuardianComponentProps {
230
+ frameworkKey: Framework;
231
+ }
232
+
233
+ /**
234
+ * Nested config structure: use case → framework → config
235
+ * This is the new recommended structure for Guardian playgrounds
236
+ */
237
+ export declare type GuardianNestedConfig = Record<string, GuardianUseCaseConfig>;
238
+
239
+ /**
240
+ * Guardian Playground component with nested config structure.
241
+ * Expects config[useCaseId].frameworks[frameworkKey] structure.
242
+ *
243
+ * When isFrame=true, reads framework from URL params client-side.
244
+ */
245
+ export declare function GuardianPlayground({ nestedConfig, useCase, framework: serverFramework, isFrame, apiKey, env, chatUid, }: {
246
+ /** Nested config structure (use case → framework → config) */
247
+ nestedConfig: GuardianNestedConfig;
248
+ /** Current use case ID */
249
+ useCase: string;
250
+ /** Current framework key (from server-side props) */
251
+ framework: string;
252
+ /** Whether to render in frame mode (just the right view) */
253
+ isFrame?: boolean;
254
+ /** API key for starting sandbox */
255
+ apiKey?: string;
256
+ /** Environment variables for sandbox */
257
+ env?: Record<string, string>;
258
+ /** Chat UID for starting sandbox */
259
+ chatUid?: string;
260
+ }): default_2.JSX.Element;
261
+
262
+ export declare function GuardianProvider({ children }: {
263
+ children: ReactNode;
264
+ }): default_2.JSX.Element;
265
+
266
+ /**
267
+ * Represents a use case with multiple framework implementations.
268
+ * Contains shared fields across all frameworks.
269
+ */
270
+ export declare interface GuardianUseCase {
271
+ /** Unique identifier for this use case (e.g., "scalekit-fsa") */
272
+ id: string;
273
+ /** Display name for this use case */
274
+ name: string;
275
+ /** Description of what this use case demonstrates */
276
+ description: string;
277
+ /** Default theme color for all frameworks */
278
+ themeColor: string;
279
+ /** Whether to show the preview for this use case */
280
+ hasPreview?: boolean;
281
+ /** List of framework implementations for this use case */
282
+ frameworks: GuardianFramework[];
283
+ }
284
+
285
+ /**
286
+ * A single use case with its framework implementations
287
+ */
288
+ export declare interface GuardianUseCaseConfig {
289
+ /** Unique identifier for this use case (e.g., "full-stack-auth") */
290
+ id: string;
291
+ /** Display name for this use case */
292
+ name: string;
293
+ /** Description of what this use case demonstrates */
294
+ description: string;
295
+ /** Default theme color for all frameworks */
296
+ themeColor: string;
297
+ /** Whether to show the preview for this use case */
298
+ hasPreview?: boolean;
299
+ /** Map of framework key to its complete configuration */
300
+ frameworks: Record<string, GuardianFrameworkConfig>;
301
+ }
302
+
45
303
  export declare const ModalSearchAndChat: default_2.FC<ModalSearchAndChatProps>;
46
304
 
47
305
  declare interface ModalSearchAndChatProps {
@@ -61,6 +319,58 @@ declare class SampleAppSDK {
61
319
  private createButtonContainer;
62
320
  }
63
321
 
322
+ /**
323
+ * Sandbox component - simplified API for embedding sandboxes
324
+ *
325
+ * @example
326
+ * ```tsx
327
+ * <Sandbox
328
+ * apiKey={process.env.NEXT_PUBLIC_SAMPLEAPP_API_KEY!}
329
+ * sandboxId="launchdarkly-feature-flags"
330
+ * env={{
331
+ * LAUNCHDARKLY_SDK_KEY: "sdk-xxx",
332
+ * }}
333
+ * />
334
+ * ```
335
+ */
336
+ export declare function Sandbox({ apiKey, sandboxId, env, themeColor, }: SandboxProps): default_2.JSX.Element | null;
337
+
338
+ export declare const SandboxHome: React_2.FC<SandboxHomeProps>;
339
+
340
+ export declare interface SandboxHomeProps {
341
+ apiKey: string;
342
+ orgid: string;
343
+ baseUrl?: string;
344
+ sandboxes?: SandboxItem[];
345
+ }
346
+
347
+ export declare interface SandboxItem {
348
+ id: string;
349
+ title: string;
350
+ description: string;
351
+ sandboxId?: string;
352
+ }
353
+
354
+ /**
355
+ * Props for the Sandbox component
356
+ */
357
+ export declare interface SandboxProps {
358
+ /** API key for container technology - required */
359
+ apiKey: string;
360
+ /** Sandbox ID to fetch configuration - required */
361
+ sandboxId: string;
362
+ /** Environment variables to pass to the sandbox - required */
363
+ env: Record<string, string>;
364
+ /** Optional theme color override */
365
+ themeColor?: string;
366
+ }
367
+
368
+ declare interface SandboxUrlConfig {
369
+ sandboxUid: string;
370
+ browserUrl: string;
371
+ useVm: boolean;
372
+ }
373
+
64
374
  declare const sdk: SampleAppSDK;
65
375
  export default sdk;
66
376
 
@@ -69,6 +379,13 @@ export declare interface SDKSettings {
69
379
  aiChatSettings?: AiChatSettings;
70
380
  }
71
381
 
382
+ export declare const TailwindExample: React_2.FC<TailwindExampleProps>;
383
+
384
+ export declare interface TailwindExampleProps {
385
+ title?: string;
386
+ description?: string;
387
+ }
388
+
72
389
  export declare interface ThemeColors {
73
390
  primary: string;
74
391
  shadow: {
@@ -100,4 +417,22 @@ export declare type ThemeName = "ocean" | "autumn" | "mint" | "sunset" | "lavend
100
417
 
101
418
  export declare const themes: Record<ThemeName, ThemeColors>;
102
419
 
420
+ declare type UpdateContainerCodebaseType = Record<string, CodeOutput>;
421
+
422
+ /**
423
+ * Configuration for a single URL to preload in the sandbox
424
+ */
425
+ declare interface UrlToPreload {
426
+ /** Browser URL to load */
427
+ browserUrl: string;
428
+ /** Whether to use VM for this URL */
429
+ useVm: boolean;
430
+ /** Suffix for the sandboxUid (e.g., "main", "abc", "def") */
431
+ suffix?: string;
432
+ }
433
+
434
+ export declare const VmProvider: ({ children }: {
435
+ children: ReactNode;
436
+ }) => default_2.JSX.Element;
437
+
103
438
  export { }