export type InboundAccessControlResult = { allowed: boolean; shouldMarkRead: boolean; isSelfChat: boolean; resolvedAccountId: string; /** Allowed THROUGH for owner-mediation but the sender is unknown/unapproved — * the koi must surface them to the owner and never reply without approval. */ unknownSender?: boolean; }; export declare function checkInboundAccessControl(params: { accountId: string; from: string; selfE164: string | null; senderE164: string | null; group: boolean; pushName?: string; isFromMe: boolean; messageTimestampMs?: number; connectedAtMs?: number; pairingGraceMs?: number; sock: { sendMessage: (jid: string, content: { text: string; }) => Promise; }; remoteJid: string; }): Promise;