import { r as DaoCoreConfig } from "./types.daocore-z1fablj2.js";
import { _t as DiscordAccountConfig } from "./types.channels-CdBHVR2w.js";
import { t as DiscordCredentialStatus } from "./token-ChZsepWW.js";

//#region extensions/discord/src/account-inspect.d.ts
type InspectedDiscordAccount = {
  accountId: string;
  enabled: boolean;
  name?: string;
  token: string;
  tokenSource: "env" | "config" | "none";
  tokenStatus: DiscordCredentialStatus;
  configured: boolean;
  config: DiscordAccountConfig;
};
declare function inspectDiscordAccount(params: {
  cfg: DaoCoreConfig;
  accountId?: string | null;
  envToken?: string | null;
}): InspectedDiscordAccount;
//#endregion
export { inspectDiscordAccount as n, InspectedDiscordAccount as t };