import { type IAgentRuntime } from '@elizaos/core'; import { z } from 'zod'; export declare const telegramEnvSchema: z.ZodObject<{ TELEGRAM_BOT_TOKEN: z.ZodString; }, z.core.$strip>; /** * Represents the type definition for configuring a Telegram bot based on the inferred schema. */ export type TelegramConfig = z.infer; /** * Validates the Telegram configuration by retrieving the Telegram bot token from the runtime settings or environment variables. * Returns null if validation fails instead of throwing an error. * * @param {IAgentRuntime} runtime - The agent runtime used to get the setting. * @returns {Promise} A promise that resolves with the validated Telegram configuration or null if invalid. */ export declare function validateTelegramConfig(runtime: IAgentRuntime): Promise;