import type { DaoCoreConfig } from "./config-types.js";
/**
 * @deprecated Compatibility type for the `daocore/plugin-sdk/telegram-account` facade.
 * New channel plugins should prefer injected runtime helpers and generic SDK subpaths.
 */
export type TelegramAccountConfig = NonNullable<NonNullable<DaoCoreConfig["channels"]>["telegram"]>;
/**
 * @deprecated Compatibility type for the `daocore/plugin-sdk/telegram-account` facade.
 * New channel plugins should prefer injected runtime helpers and generic SDK subpaths.
 */
export 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.
 */
export declare function resolveTelegramAccount(params: {
    cfg: DaoCoreConfig;
    accountId?: string | null;
}): ResolvedTelegramAccount;
