import { AuthSchema } from './auth'; import { FormSchema } from './form'; import { HomeDashboardSchema } from './dashboard'; import { EntityDetailsSpec } from './entity'; export type SaveUISpecFn = (uiSpec: UISpec, commitMessage: string) => void; export interface ButtonSchema { type: 'button'; text: string; icon: string; style: 'primary' | 'secondary' | 'danger' | 'ghost'; actionType: 'navigation' | 'modal'; action: string; } export interface UISpec { theme: string; appInfo?: { name: string; title: string; description: string; apiUrl?: string; }; login: AuthSchema; signUp: AuthSchema; homeDashboard: HomeDashboardSchema; navigation: { type: string; grouping: { title: string; items: string[]; icon: string; color: string; }[]; }; userPreferences: { layout: { sidebarCollapsed: boolean; tablePageSize: number; defaultView: string; compactMode: boolean; }; notifications: { enabled: boolean; position: string; duration: number; types: { newInquiry: boolean; lowStock: boolean; saleCompleted: boolean; agentHandoff: boolean; }; }; accessibility: { highContrast: boolean; fontSize: string; screenReader: boolean; keyboardNavigation: boolean; reducedMotion: boolean; }; language: string; timezone: string; currency: string; }; relationships: { name: string; type: string; parent: string; child: string; displayName: string; ui: { showInParentDetail: boolean; showInChildDetail: boolean; listComponent: string; allowInlineEdit: boolean; allowCreate: boolean; sortBy: string; }; }[]; agents: string[]; entities: string[]; [key: string]: unknown; } export type { AuthSchema }; export type { FormSchema }; export type { EntityDetailsSpec }; export type { HomeDashboardSchema }; export type { DashboardEntity } from './dashboard'; //# sourceMappingURL=index.d.ts.map