import { Handler } from 'hono'; import { W as WebhookMiddlewareOptions } from '../types-BeXRmVD7.cjs'; import '../types-zVGqyFzP.cjs'; import '../action-items-CC9yUxHY.cjs'; /** * Create a Hono handler for Fireflies webhooks. * * @param options - Webhook middleware options * @returns Hono handler * * @example * ```typescript * import { Hono } from 'hono'; * import { webhookHandler } from 'fireflies-api/hono'; * * const app = new Hono(); * * app.post('/webhooks/fireflies', webhookHandler({ * secret: process.env.WEBHOOK_SECRET!, * apiKey: process.env.FIREFLIES_API_KEY, * onTranscriptionCompleted: async ({ payload, transcript }) => { * console.log(`Transcript ready: ${transcript?.title}`); * }, * })); * ``` */ declare function webhookHandler(options: WebhookMiddlewareOptions): Handler; /** * Alias for webhookHandler for consistency with other adapters. * * @param options - Webhook middleware options * @returns Hono handler */ declare const createWebhookHandler: typeof webhookHandler; export { createWebhookHandler, webhookHandler };