import React, { ReactNode } from "react";
import { Room, RoomMember } from "matrix-js-sdk/src/matrix";
interface Props {
    room: Room;
    size: string;
    tooltipProps?: {
        tabIndex?: number;
    };
    children: ReactNode;
}
export declare const useDmMember: (room: Room) => RoomMember | null;
declare const WithPresenceIndicator: React.FC<Props>;
export default WithPresenceIndicator;
