import type { AnyMessageContent } from "@whiskeysockets/baileys";
import type { NormalizedLocation } from "../../channels/location.js";
export type WebListenerCloseReason = {
    status?: number;
    isLoggedOut: boolean;
    error?: unknown;
};
export type WebInboundMessage = {
    id?: string;
    from: string;
    conversationId: string;
    to: string;
    accountId: string;
    body: string;
    pushName?: string;
    timestamp?: number;
    chatType: "direct" | "group";
    chatId: string;
    senderJid?: string;
    senderE164?: string;
    senderName?: string;
    replyToId?: string;
    replyToBody?: string;
    replyToSender?: string;
    replyToSenderJid?: string;
    replyToSenderE164?: string;
    replyToMediaPath?: string;
    replyToMediaType?: string;
    groupSubject?: string;
    groupParticipants?: string[];
    mentionedJids?: string[];
    selfJid?: string | null;
    selfE164?: string | null;
    location?: NormalizedLocation;
    sendComposing: () => Promise<void>;
    reply: (text: string) => Promise<void>;
    sendMedia: (payload: AnyMessageContent) => Promise<void>;
    mediaPath?: string;
    mediaType?: string;
    mediaFileName?: string;
    mediaUrl?: string;
    wasMentioned?: boolean;
};
