export declare function ensurePreview(root: string, kernel: string): Promise;