export async function captureAuraAppScreenshot(app) {
    return app.screenshot();
}
export function assertAuraScreenshotNotBlank(screenshot) {
    if (screenshot.width <= 0 || screenshot.height <= 0)
        throw new Error("Aura3D screenshot is blank because width or height is zero.");
    if (!screenshot.dataUrl.startsWith("data:image/png"))
        throw new Error("Aura3D screenshot must be a PNG data URL.");
}
//# sourceMappingURL=screenshot.js.map