/** * Preview UI — local HTTP server for editing store assets after generation. * * Uses only Node built-ins (http, fs) — no express, no framework, no extra * dependencies. Run via the `store-asset-generator-preview` bin command. * * $ npx store-asset-generator-preview ./store-assets * * Serves: * GET / → ui.html * GET /api/config → config.json * POST /api/config → update config.json * GET /api/mockups → list of mockup files * GET /mockups/:relative → stream a mockup PNG * POST /api/regenerate → re-render a mockup with new HTML/params */ export interface PreviewServerOptions { assetsDir: string; port?: number; } export declare function startPreviewServer(options: PreviewServerOptions): Promise<{ port: number; url: string; close: () => void; }>; //# sourceMappingURL=server.d.ts.map