import { Router } from "express";
import Database from "better-sqlite3";
export declare function previewRouter(db: Database.Database, storageDir: string): Router;
/**
 * 当 Theme 保存时，若预览正在运行则更新配置
 */
export declare function onThemeSaved(creativeId: string, theme: Record<string, string>, storageDir: string): void;
//# sourceMappingURL=preview.d.ts.map