import { i as NodmixConfig } from "./types.nodmix-B9QJSty6.js";
//#region src/plugin-sdk/telegram-account.d.ts
/**
 * @deprecated Compatibility type for the `nodmix/plugin-sdk/telegram-account` facade.
 * New channel plugins should prefer injected runtime helpers and generic SDK subpaths.
 */
type TelegramAccountConfig = NonNullable<NonNullable<NodmixConfig["channels"]>["telegram"]>;
/**
 * @deprecated Compatibility type for the `nodmix/plugin-sdk/telegram-account` facade.
 * New channel plugins should prefer injected runtime helpers and generic SDK subpaths.
 */
type ResolvedTelegramAccount = {
  accountId: string;
  enabled: boolean;
  name?: string;
  token: string;
  tokenSource: "env" | "tokenFile" | "config" | "none";
  config: TelegramAccountConfig;
};
/**
 * @deprecated Compatibility facade for plugin code that needs Telegram account resolution.
 * New channel plugins should prefer injected runtime helpers and generic SDK subpaths.
 */
declare function resolveTelegramAccount(params: {
  cfg: NodmixConfig;
  accountId?: string | null;
}): ResolvedTelegramAccount;
//#endregion
export { ResolvedTelegramAccount, TelegramAccountConfig, resolveTelegramAccount };