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