import type { FasedAgentConfig } from "../config/config.js";
import type { TelegramAccountConfig, TelegramActionConfig } from "../config/types.js";
export type ResolvedTelegramAccount = {
    accountId: string;
    enabled: boolean;
    name?: string;
    token: string;
    tokenSource: "env" | "tokenFile" | "config" | "none";
    config: TelegramAccountConfig;
};
export declare function listTelegramAccountIds(cfg: FasedAgentConfig): string[];
export declare function resolveDefaultTelegramAccountId(cfg: FasedAgentConfig): string;
export declare function createTelegramActionGate(params: {
    cfg: FasedAgentConfig;
    accountId?: string | null;
}): (key: keyof TelegramActionConfig, defaultValue?: boolean) => boolean;
export declare function resolveTelegramAccount(params: {
    cfg: FasedAgentConfig;
    accountId?: string | null;
}): ResolvedTelegramAccount;
export declare function listEnabledTelegramAccounts(cfg: FasedAgentConfig): ResolvedTelegramAccount[];
