/**
 * 启动实时预览。等待 Vite dev server 就绪后才返回。
 */
export declare function startPreview(creativeId: string, theme: Record<string, string>, storageDir: string): Promise<{
    url: string;
}>;
/**
 * 更新预览配置（主题变更时调用）。Vite HMR 会自动检测并刷新页面。
 */
export declare function updatePreviewConfig(creativeId: string, theme: Record<string, string>, storageDir: string): void;
/**
 * 停止预览
 */
export declare function stopPreview(): void;
export declare function getPreviewStatus(): {
    active: boolean;
    creativeId: string | null;
    url: string | null;
};
//# sourceMappingURL=previewService.d.ts.map