import type { ReplyToMode } from "agdi/plugin-sdk/config-runtime"; import type { TelegramAccountConfig } from "agdi/plugin-sdk/config-runtime"; import type { RuntimeEnv } from "agdi/plugin-sdk/runtime-env"; import type { TelegramBotDeps } from "./bot-deps.js"; import { type BuildTelegramMessageContextParams, type TelegramMediaRef } from "./bot-message-context.js"; import type { TelegramMessageContextOptions } from "./bot-message-context.types.js"; import type { TelegramBotOptions } from "./bot.js"; import type { TelegramContext, TelegramStreamMode } from "./bot/types.js"; /** Dependencies injected once when creating the message processor. */ type TelegramMessageProcessorDeps = Omit & { telegramCfg: TelegramAccountConfig; runtime: RuntimeEnv; replyToMode: ReplyToMode; streamMode: TelegramStreamMode; textLimit: number; telegramDeps: TelegramBotDeps; opts: Pick; }; export declare const createTelegramMessageProcessor: (deps: TelegramMessageProcessorDeps) => (primaryCtx: TelegramContext, allMedia: TelegramMediaRef[], storeAllowFrom: string[], options?: TelegramMessageContextOptions, replyMedia?: TelegramMediaRef[]) => Promise; export {};