import type { H3Event } from 'h3'; import { Stripe } from 'stripe'; export interface CreateStripeEventOptions { webhookSecret?: string; stripe?: Stripe; } /** * Constructs and verifies the signature of an Event from the provided details. * * ### Example: * ```ts * export default eventHandler(async (e) => { * const event = await createStripeEvent(e) * switch (event.type) { * ... * } * }) * ``` */ export declare function createStripeEvent(event: H3Event, options?: CreateStripeEventOptions): Promise;