import { EntityWithBindings6, PageDSL8, WidgetProps, WidgetTypes } from '../types/index.js'; export type FlattenedWidgetProps = Omit & { type: keyof typeof WidgetTypes; children?: string[]; } & EntityWithBindings6; type WidgetMap = Record; /** * Fixes invalid DSL from previous bugs on initial load. * 1. removes duplicate IDs * 2. de-duplicates identical Section and Canvas names because their names don't matter * 3. removes timers and stateVars from the page widget, as they are processed separately */ export declare function normalize(dsl?: PageDSL8): { entities: { canvasWidgets: T; }; result: string; }; export declare function denormalize(pageWidgetId: string, entities: { canvasWidgets: T; }): PageDSL8; export {}; //# sourceMappingURL=normalize.d.ts.map