use ScreenshotError;
/// Capture a Tauri `WebviewWindow` via the `WKWebView` `takeSnapshot:` path.
///
/// Scaffolded for a follow-up milestone — the `objc2-web-kit` wiring is not in
/// this release, so the macOS arm currently returns a `CaptureFailed` with a
/// descriptive message. Callers that want a working capture should select the
/// `screencapture` or `CGWindowList` backends.
///
/// # Errors
///
/// Returns [`ScreenshotError::CaptureFailed`] on macOS until the `WKWebView`
/// path is wired in a follow-up milestone.
pub