/** * Returns Chromium CLI flags that disable the sandbox on Linux. * * Ubuntu 23.10+ (and other distros) restrict unprivileged user namespaces * via AppArmor, which makes the Chrome sandbox fail with: * * "No usable sandbox! … see apparmor-userns-restrictions.md" * * Adding `--no-sandbox --disable-setuid-sandbox` is the standard workaround * recommended by Puppeteer for Linux environments (CI and desktop alike). * * On non-Linux platforms the sandbox works out of the box, so no extra * flags are injected. * * Usage: * const args = [...(userArgs ?? []), ...getSandboxArgs()]; */ export declare const getSandboxArgs: () => string[];