import { Room } from "matrix-js-sdk/src/matrix";
export interface SlidingSyncRoomSearchOpts {
    limit: number;
    query: string;
}
export declare const useSlidingSyncRoomSearch: () => {
    loading: boolean;
    rooms: Room[];
    search(opts: SlidingSyncRoomSearchOpts): Promise<boolean>;
};
