export declare enum LayoutType { Default = "default", SkillEditor = "skill-editor", BladeCoa = "blade-coa", SolutionEditor = "solution-editor", SolutionEditor2 = "solution-editor2", ChatPreview = "chat-preview", ChatOnly = "chat-only", SolutionApp = "solution-app", Custom = "custom" } export interface Solution { id: string; name: string; version: string; description?: string | null; source?: "builtin" | "personal" | string | null; layout_type: LayoutType | string; initial_mode?: "planning" | "executing" | string | null; initial_message?: string | null; preview?: { url: string; title?: string | null; } | null; layout?: { available?: boolean; source_dir?: string; entry?: string; export?: string; } | null; roles?: BizRole[] | null; data?: Record | null; ui_config?: SolutionAppUiConfig | null; } export interface SolutionAppUiConfig { branding: { name: string; subtitle?: string; icon_text: string; icon_gradient?: string; }; list: { title: string; create_button: string; card?: { subtitle?: string; stats?: Array<{ label: string; value: string; color?: string; }>; }; }; create: { title: string; description?: string; submit_button: string; sections: Array<{ id: string; title: string; description?: string; fields: Array; }>; }; } export type SolutionAppField = { id: string; kind: "textarea"; label: string; placeholder?: string; } | { id: string; kind: "file-upload"; accept?: string[]; categories?: Array<{ label: string; description: string; color: string; }>; }; export interface SolutionAppState { pipeline: Array<{ id: string; label: string; status: "done" | "active" | "pending" | "error"; }>; meta: Record; } export interface BizRole { id: string; name: string; description?: string | null; preview?: { url: string; title?: string | null; } | null; }