/**
 * Web implementation of SharedImagePlugin
 * Returns null/false for web platform (no native sharing support)
 */

import { WebPlugin } from "@capacitor/core";
import type { SharedImagePlugin, SharedImageResult } from "./definitions";

export class SharedImagePluginWeb
  extends WebPlugin
  implements SharedImagePlugin
{
  async getSharedImage(): Promise<SharedImageResult | null> {
    // Web platform doesn't support native sharing
    return null;
  }

  async hasSharedImage(): Promise<{ hasImage: boolean }> {
    return { hasImage: false };
  }
}
