import { PageDSL } from '../types/index.js';
import { FlattenedWidgetProps } from '../utils/normalize.js';
import { ScopedDataTree } from './refactor.js';
import { Extractor } from './types.js';
export type PropertyUpdate = {
    propertyName: string;
    propertyValue: unknown;
    entityId: string;
};
export declare function getUpdatesInWidgets<T extends Record<string, FlattenedWidgetProps>>({ widgets, oldName, newName, dataTree, extractPairs, namespace }: {
    widgets: T;
    oldName: string;
    newName: string;
    dataTree: ScopedDataTree;
    extractPairs: Extractor;
    namespace?: string;
}): Promise<PropertyUpdate[]>;
export declare function updateNameInEntityMap({ entityMap, parentKey, parentId, oldName, newName, dataTree, extractPairs, namespace }: {
    entityMap: PageDSL['events'] | PageDSL['apis'] | PageDSL['timers'] | PageDSL['stateVars'] | undefined;
    parentId?: string;
    parentKey: string;
    oldName: string;
    newName: string;
    dataTree: ScopedDataTree;
    extractPairs: Extractor;
    namespace?: string;
}): Promise<PropertyUpdate[]>;
//# sourceMappingURL=updates.d.ts.map