@duckduckgo/content-scope-scripts
    Preparing search index...

    Interface CaptureScreenshotParams

    Asks native to capture a screenshot for the Duck.ai prompt. The reply comes once the capture is taken, fails or is cancelled, so the request can stay pending for as long as the user takes.

    interface CaptureScreenshotParams {
        mode: ScreenshotMode;
    }
    Index