import type { ManagedServer } from '../../core/server-manager.js'; import type { ViewportSize } from '../playwright/context-factory.js'; import type { ComponentFraming } from '../../contracts/component/component-visual-contract.js'; export type PortalComponentCase = { id: string; path: string; viewport: string; viewportSize: ViewportSize; framing?: ComponentFraming | undefined; }; export type PortalConfig = { entry: string; readyUrl: string; reuseExisting?: boolean | undefined; timeoutMs?: number | undefined; viteConfig?: string | undefined; }; export type ReflectionPortalServer = { baseUrl: string; server: ManagedServer; }; export declare function startReflectionPortalServer(config: PortalConfig, cases: PortalComponentCase[], options: { cwd: string; rootDir: string; }): Promise;