import { Room, RoomState } from "matrix-js-sdk/src/matrix";
type Mapper<T> = (roomState: RoomState) => T;
export declare const useRoomState: <T extends unknown = RoomState>(room?: Room, mapper?: Mapper<T>) => T;
export {};
