import type { WebhookEvent } from "@line/bot-sdk"; import type { SKYKOIConfig } from "../config/config.js"; import type { RuntimeEnv } from "../runtime.js"; import type { ResolvedLineAccount } from "./types.js"; import { type LineInboundContext } from "./bot-message-context.js"; export type LineHandlerContext = { cfg: SKYKOIConfig; account: ResolvedLineAccount; runtime: RuntimeEnv; mediaMaxBytes: number; processMessage: (ctx: LineInboundContext) => Promise; }; export declare function handleLineWebhookEvents(events: WebhookEvent[], context: LineHandlerContext): Promise;