import { Config } from 'yoshi-config/build/config'; import { WidgetType, SentryConfig, ExperimentsConfig } from 'yoshi-flow-editor-runtime/build/constants'; export interface FlowEditorModel { appName: string; appDefId: string | null; artifactId: string; viewerEntryFileName: string | null; editorEntryFileName: string | null; experimentsConfig: ExperimentsConfig | null; components: Array; sentry: SentryConfig | null; urls: URLsConfig; } export interface URLsConfig { viewerUrl?: string | null; editorUrl?: string | null; } export interface ComponentModel { name: string; type: WidgetType; widgetFileName: string | null; viewerControllerFileName: string; editorControllerFileName: string | null; settingsFileName: string | null; id: string | null; controllerId?: string; } export interface AppConfig { experiments: ExperimentsConfig | null; appDefinitionId: string; sentry?: SentryConfig; } export interface ComponentConfig { id: string; controllerId?: string; type?: WidgetType; } export declare function generateFlowEditorModel(config: Config): Promise; //# sourceMappingURL=model.d.ts.map