import { MatrixEvent, Room } from "matrix-js-sdk/src/matrix";
/**
 * Tests whether a DM room with exactly one third-party invite should be encrypted.
 * If it should be encrypted, the third-party invitation event is also returned.
 */
export declare const shouldEncryptRoomWithSingle3rdPartyInvite: (room: Room) => {
    shouldEncrypt: true;
    inviteEvent: MatrixEvent;
} | {
    shouldEncrypt: false;
    inviteEvent?: undefined;
};
