import {
  sendMessageWhatsApp as sendMessageWhatsAppImpl,
  sendPollWhatsApp as sendPollWhatsAppImpl,
} from "./runtime-whatsapp-boundary.js";
import type { PluginRuntime } from "./types.js";

type RuntimeWhatsAppOutbound = Pick<
  PluginRuntime["channel"]["whatsapp"],
  "sendMessageWhatsApp" | "sendPollWhatsApp"
>;

export const runtimeWhatsAppOutbound = {
  sendMessageWhatsApp: sendMessageWhatsAppImpl,
  sendPollWhatsApp: sendPollWhatsAppImpl,
} satisfies RuntimeWhatsAppOutbound;
