import type { RemoteClawConfig } from "../../../src/config/config.js"; import type { DmPolicy, GroupPolicy, WhatsAppAccountConfig } from "../../../src/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 DEFAULT_WHATSAPP_MEDIA_MAX_MB = 50; export declare const listWhatsAppAccountIds: (cfg: RemoteClawConfig) => string[]; export declare const resolveDefaultWhatsAppAccountId: (cfg: RemoteClawConfig) => string; export declare function listWhatsAppAuthDirs(cfg: RemoteClawConfig): string[]; export declare function hasAnyWhatsAppAuth(cfg: RemoteClawConfig): boolean; export declare function resolveWhatsAppAuthDir(params: { cfg: RemoteClawConfig; accountId: string; }): { authDir: string; isLegacy: boolean; }; export declare function resolveWhatsAppAccount(params: { cfg: RemoteClawConfig; accountId?: string | null; }): ResolvedWhatsAppAccount; export declare function resolveWhatsAppMediaMaxBytes(account: Pick): number; export declare function listEnabledWhatsAppAccounts(cfg: RemoteClawConfig): ResolvedWhatsAppAccount[];