import type { BotConfig } from "../config/config.js"; import type { ChannelId } from "./plugins/types.js"; import { type InspectedDiscordAccount } from "../discord/account-inspect.js"; import { type InspectedSlackAccount } from "../slack/account-inspect.js"; import { type InspectedTelegramAccount } from "../telegram/account-inspect.js"; export type ReadOnlyInspectedAccount = InspectedDiscordAccount | InspectedSlackAccount | InspectedTelegramAccount; export declare function inspectReadOnlyChannelAccount(params: { channelId: ChannelId; cfg: BotConfig; accountId?: string | null; }): ReadOnlyInspectedAccount | null;