import { Room } from "matrix-js-sdk/src/matrix";
interface IProps {
    room?: Room;
    children?(name: string): JSX.Element;
}
/**
 * @deprecated use `useRoomName.ts` instead
 */
declare const RoomName: ({ room, children }: IProps) => JSX.Element;
export default RoomName;
