import { AgentSession } from '../agent/session.js'; import type { AgentConfig } from '../agent/types.js'; import type { MemoryStore } from '../agent/memory/index.js'; import type { StateStore } from '../agent/state/state-store.js'; import type { TelegramBotConfig } from './session-context.js'; export interface TelegramSessionFactoryOptions { config: TelegramBotConfig; frameworkBase: string | undefined; telegramCwd: string | undefined; memoryStore: MemoryStore; stateStore?: StateStore; log?: (message: string) => void; } export declare function createTelegramSessionFactory(options: TelegramSessionFactoryOptions): (sessionConfig: AgentConfig) => Promise;