import { i as NodmixConfig } from "../types.nodmix-Dph4_Y30.js";
import { n as BaseTokenResolution } from "../types.core-CQ7zCwFx.js";
//#region extensions/telegram/src/token.d.ts
type TelegramTokenSource = "env" | "tokenFile" | "config" | "none";
type TelegramTokenResolution = BaseTokenResolution & {
  source: TelegramTokenSource;
};
type ResolveTelegramTokenOpts = {
  envToken?: string | null;
  accountId?: string | null;
  logMissingFile?: (message: string) => void;
};
declare function resolveTelegramToken(cfg?: NodmixConfig, opts?: ResolveTelegramTokenOpts): TelegramTokenResolution;
//#endregion
export { TelegramTokenResolution, resolveTelegramToken };