import { discordAdapter } from "./adapters/discord.js"; import { emailAdapter } from "./adapters/email.js"; import { googleDocsAdapter } from "./adapters/google-docs.js"; import { microsoftTeamsAdapter } from "./adapters/microsoft-teams.js"; import { slackAdapter } from "./adapters/slack.js"; import { telegramAdapter } from "./adapters/telegram.js"; import { whatsappAdapter } from "./adapters/whatsapp.js"; import type { PlatformAdapter, IntegrationsPluginOptions } from "./types.js"; type NitroPluginDef = (nitroApp: any) => void | Promise; export declare const BUILT_IN_INTEGRATION_ADAPTER_FACTORIES: readonly [{ readonly platform: "slack"; readonly create: typeof slackAdapter; }, { readonly platform: "telegram"; readonly create: typeof telegramAdapter; }, { readonly platform: "whatsapp"; readonly create: typeof whatsappAdapter; }, { readonly platform: "microsoft-teams"; readonly create: typeof microsoftTeamsAdapter; }, { readonly platform: "discord"; readonly create: typeof discordAdapter; }, { readonly platform: "google-docs"; readonly create: typeof googleDocsAdapter; }, { readonly platform: "email"; readonly create: typeof emailAdapter; }]; export declare const BUILT_IN_INTEGRATION_ADAPTER_IDS: readonly ("discord" | "email" | "google-docs" | "microsoft-teams" | "slack" | "telegram" | "whatsapp")[]; export declare function createBuiltInIntegrationAdapters(): PlatformAdapter[]; type RemoteCodeCommandEnvelope = { kind?: unknown; ownerEmail?: unknown; orgId?: unknown; command?: unknown; source?: unknown; }; export declare function enqueueRemoteCommand(envelope: RemoteCodeCommandEnvelope): Promise>; /** * Creates a Nitro plugin that mounts messaging platform integration webhook routes. * * Routes: * POST /_agent-native/integrations/:platform/webhook — receive platform webhooks * GET /_agent-native/integrations/status — all integrations status * GET /_agent-native/integrations/:platform/status — single platform status * POST /_agent-native/integrations/:platform/enable — enable integration * POST /_agent-native/integrations/:platform/disable — disable integration * POST /_agent-native/integrations/:platform/setup — platform-specific setup */ export declare function createIntegrationsPlugin(options?: IntegrationsPluginOptions): NitroPluginDef; /** * Default integrations plugin — auto-mounts all adapters. */ export declare const defaultIntegrationsPlugin: NitroPluginDef; export {}; //# sourceMappingURL=plugin.d.ts.map