import type { WidgetConfig } from '../../../../types'; /** * Prerender widget initial states for build-time inclusion. * * Widget code is transpiled with Babel and executed in a Node.js VM sandbox. * This function loads widget files that export WidgetVariants for widgets with initialStatePath configured, * renders them to JSON, and returns a map of prerendered states that can be bundled into the iOS app. * * @param widgets - Array of widget configurations * @param projectRoot - Root directory of the Expo project * @returns Map of widgetId -> prerendered widget state as JSON string */ export declare function prerenderWidgetState(widgets: WidgetConfig[], projectRoot: string): Promise>;