import { Sandbox } from '../../types'; export type ConfigurationFile = { title: string; type: string; description: string | null; moreInfoUrl: string; getDefaultCode?: (template: string, resolveModule: (path: string) => { code: string | null; } | undefined) => string; generateFileFromState?: (state: any) => string; generateFileFromSandbox?: (sandbox: Sandbox) => string; schema?: string; partialSupportDisclaimer?: string; }; export type ParsedConfigurationFile = { code: string; generated: boolean; path: string; error?: Error; parsed?: T; }; export type ConfigurationUIProps = { file: string; updateFile: (code: string) => void; sandbox: Sandbox; };