import type { BotConfig } from "../config/config.js"; import type { TelegramAccountConfig } from "../config/types.telegram.js"; export type TelegramCredentialStatus = "available" | "configured_unavailable" | "missing"; export type InspectedTelegramAccount = { accountId: string; enabled: boolean; name?: string; token: string; tokenSource: "env" | "tokenFile" | "config" | "none"; tokenStatus: TelegramCredentialStatus; configured: boolean; config: TelegramAccountConfig; }; export declare function inspectTelegramAccount(params: { cfg: BotConfig; accountId?: string | null; envToken?: string | null; }): InspectedTelegramAccount;