import type { WebhookHandler } from '../handler.js'; interface ElysiaContextLike { request: Request; } export type ElysiaHandler = (ctx: ElysiaContextLike) => Promise; /** * `app.post('/webhook', elysiaAdapter(tg.webhookHandler()))` */ export declare function elysiaAdapter(handler: WebhookHandler): ElysiaHandler; export {}; //# sourceMappingURL=elysia.d.ts.map