import type { BotConfig } from "../config/config.js"; import type { DmPolicy, GroupPolicy, WhatsAppAccountConfig } from "../config/types.js"; export type ResolvedWhatsAppAccount = { accountId: string; name?: string; enabled: boolean; sendReadReceipts: boolean; messagePrefix?: string; authDir: string; isLegacyAuthDir: boolean; selfChatMode?: boolean; allowFrom?: string[]; groupAllowFrom?: string[]; groupPolicy?: GroupPolicy; dmPolicy?: DmPolicy; textChunkLimit?: number; chunkMode?: "length" | "newline"; mediaMaxMb?: number; blockStreaming?: boolean; ackReaction?: WhatsAppAccountConfig["ackReaction"]; groups?: WhatsAppAccountConfig["groups"]; debounceMs?: number; }; export declare const listWhatsAppAccountIds: (cfg: BotConfig) => string[]; export declare const resolveDefaultWhatsAppAccountId: (cfg: BotConfig) => string; export declare function listWhatsAppAuthDirs(cfg: BotConfig): string[]; export declare function hasAnyWhatsAppAuth(cfg: BotConfig): boolean; export declare function resolveWhatsAppAuthDir(params: { cfg: BotConfig; accountId: string; }): { authDir: string; isLegacy: boolean; }; export declare function resolveWhatsAppAccount(params: { cfg: BotConfig; accountId?: string | null; }): ResolvedWhatsAppAccount; export declare function listEnabledWhatsAppAccounts(cfg: BotConfig): ResolvedWhatsAppAccount[];